home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia 1995 April / Informatica Multimedia CD - Epimundo.iso / DOS / FILE_CHG / PC_ZAP20.ZIP / PC-ZAP20.DOC < prev    next >
Encoding:
Text File  |  1980-01-01  |  150.1 KB  |  3,763 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  18.                       VersionVersionVersionVersion 2.02.02.02.0 forforforfor thethethethe IBMIBMIBMIBM PCPCPCPC
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.                              January 1984
  28.  
  29.  
  30.  
  31.                             Pelt Industries
  32.  
  33.  
  34.                        121 Buckingham Drive, #55
  35.                         Santa Clara, CA  95050
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.   Second______SecondSecondSecond_Edition_______EditionEditionEdition_-_---_January_______JanuaryJanuaryJanuary_1984____198419841984
  122.  
  123.   Changes are  periodically made  to the  information herein;  before
  124.   using this publication consult with Pelt Industries for any changes
  125.   or updates.
  126.  
  127.   (C) Copyright 1983 Markus Pelt.
  128.  
  129.  
  130.   PC-ZAP User's Guide Version 2.0 for the IBM PC                   ii
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  138.  
  139.  
  140.   PREFACE_______PREFACEPREFACEPREFACE
  141.  
  142.  
  143.  
  144.                PC-ZAP is a  utility program for the IBM  PC and PC/XT
  145.                which allows easy modification of  any DOS file (typi-
  146.                cally a .COM or .EXE file)  without the use of the DOS
  147.                DEBUG command. This  document explains the use  of the
  148.                PC-ZAP program and how to create ZAP files.
  149.  
  150.                PC-ZAP can:
  151.  
  152.                o   dump a file in hexadecimal and ASCII dump format
  153.  
  154.                o   verify data in a file, and
  155.  
  156.                o   replace data in a file
  157.  
  158.  
  159.   THE___THETHETHE_PI-WARE_______PI-WAREPI-WAREPI-WARE_CONCEPT_______CONCEPTCONCEPTCONCEPT
  160.  
  161.  
  162.                If you are using this program and finding it of value,
  163.                your contribution ($35 suggested) will be appreciated.
  164.  
  165.                                   Pelt Industries
  166.                            121 Buckingham Drive, Suite 55
  167.                                Santa Clara, CA  95050
  168.  
  169.                You are encouraged to copy and share this program with
  170.                other users on the conditions  that the program is not
  171.                distributed in modified form, that no fee or consider-
  172.                ation is charged, and that this notice is not bypassed
  173.                or removed.
  174.  
  175.  
  176.   HOW___HOWHOWHOW_TO__TOTOTO_USE___USEUSEUSE_THIS____THISTHISTHIS_PUBLICATION___________PUBLICATIONPUBLICATIONPUBLICATION
  177.  
  178.                This document is divided into the following chapters:
  179.  
  180.                o   "Chapter 1. Introduction" on  page 1 discusses the
  181.                    operation of the PC-ZAP program,  how to start it,
  182.                    run it, and terminate it.
  183.  
  184.                o   "Chapter 2. Program Operation" on page 6 discusses
  185.                    the  PC-ZAP  command  syntax, how  to  create  zap
  186.                    files, and operation of the program in interactive
  187.                    mode.
  188.  
  189.                o   "Chapter 3. Reference" on page 12  provides a ref-
  190.                    erence of the PC-ZAP commands.  Commands are list-
  191.                    ed  in alpabetical  order  and  a quick  reference
  192.                    summary page is  provided at the end  of the chap-
  193.                    ter.
  194.  
  195.  
  196.   Preface                                                         iii
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  204.  
  205.  
  206.   RELATED_______RELATEDRELATEDRELATED_PUBLICATIONS____________PUBLICATIONSPUBLICATIONSPUBLICATIONS
  207.  
  208.                o   OS/VS2_______Service_________Aids____ (IBM order  number GC28-0674)
  209.                    describes the  operation of  the AMASPZAP  utility
  210.                    program  for the  System/370 mainframe  computers.
  211.                    PC-ZAP was  designed to  emulate the  functions of
  212.                    this IBM utility.  This is an IBM technical refer-
  213.                    ence manual and as such is not recommended for the
  214.                    novice user.
  215.  
  216.  
  217.   CHANGES_______CHANGESCHANGESCHANGES_WITH____WITHWITHWITH_PC-ZAP______PC-ZAPPC-ZAPPC-ZAP_RELEASE_______RELEASERELEASERELEASE_2.0___2.02.02.0
  218.  
  219.                The  following   enhancements  and  fixes   have  been
  220.                included in release 2.0 of PC-ZAP:
  221.  
  222.                o   The BASE command has been added.
  223.  
  224.                o   The  DUMP command  has been  rewritten to  improve
  225.                    performance.
  226.  
  227.                o   The  documentation  has  been   rewritten  in  its
  228.                    entirety.
  229.  
  230.                o   Additional sample zaps have been added to the sam-
  231.                    ples in "Appendix B. SAMPLE ZAP FILES" on page 31.
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.   Preface                                                          iv
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  270.  
  271.  
  272.   CONTENTS________CONTENTSCONTENTSCONTENTS
  273.  
  274.  
  275.  
  276.                ChapterChapterChapterChapter 1.1.1.1. IntroductionIntroductionIntroductionIntroduction  .... .... .... .... .... .... .... .... .... .... .... .... .... .... 1111
  277.                Distribution package   . . . . . . . . . . . . . . . 1
  278.                  Distribution Diskette  . . . . . . . . . . . . . . 1
  279.                    PC-ZAP.EXE program   . . . . . . . . . . . . . . 1
  280.                    PC-ZAP.DOC document  . . . . . . . . . . . . . . 2
  281.                    Sample ZAP files   . . . . . . . . . . . . . . . 2
  282.                    READ.ME file   . . . . . . . . . . . . . . . . . 2
  283.                  System Requirements  . . . . . . . . . . . . . . . 2
  284.                  Printing the Documentation   . . . . . . . . . . . 2
  285.                Starting up the program  . . . . . . . . . . . . . . 3
  286.                Ending the program   . . . . . . . . . . . . . . . . 4
  287.  
  288.                ChapterChapterChapterChapter 2.2.2.2. ProgramProgramProgramProgram OperationOperationOperationOperation   .... .... .... .... .... .... .... .... .... .... .... 6666
  289.                PC-ZAP Command   . . . . . . . . . . . . . . . . . . 6
  290.                    Function   . . . . . . . . . . . . . . . . . . . 6
  291.                    Syntax   . . . . . . . . . . . . . . . . . . . . 6
  292.                    Examples   . . . . . . . . . . . . . . . . . . . 7
  293.                    Notes  . . . . . . . . . . . . . . . . . . . . . 7
  294.                Zap files  . . . . . . . . . . . . . . . . . . . . . 8
  295.                  Order of Commands  . . . . . . . . . . . . . . . . 8
  296.                  Uses of the VER statement  . . . . . . . . . . . . 8
  297.                  The NOGO switch  . . . . . . . . . . . . . . . . . 9
  298.                  Multiple zap files   . . . . . . . . . . . . . .  10
  299.                  Notes  . . . . . . . . . . . . . . . . . . . . .  10
  300.                Interactive Mode   . . . . . . . . . . . . . . . .  10
  301.                  Ctrl-Break   . . . . . . . . . . . . . . . . . .  11
  302.  
  303.                ChapterChapterChapterChapter 3.3.3.3. ReferenceReferenceReferenceReference   .... .... .... .... .... .... .... .... .... .... .... .... .... ....  12121212
  304.                PC-ZAP commands  . . . . . . . . . . . . . . . . .  12
  305.                  BASE Command   . . . . . . . . . . . . . . . . .  13
  306.                    Function   . . . . . . . . . . . . . . . . . .  13
  307.                    Syntax   . . . . . . . . . . . . . . . . . . .  13
  308.                    Examples   . . . . . . . . . . . . . . . . . .  13
  309.                    Notes  . . . . . . . . . . . . . . . . . . . .  13
  310.                  DUMP command   . . . . . . . . . . . . . . . . .  14
  311.                    Function   . . . . . . . . . . . . . . . . . .  14
  312.                    Syntax   . . . . . . . . . . . . . . . . . . .  14
  313.                    Examples   . . . . . . . . . . . . . . . . . .  14
  314.                  END Command  . . . . . . . . . . . . . . . . . .  15
  315.                    Function   . . . . . . . . . . . . . . . . . .  15
  316.                    Syntax   . . . . . . . . . . . . . . . . . . .  15
  317.                    Notes  . . . . . . . . . . . . . . . . . . . .  15
  318.                  NAME Command   . . . . . . . . . . . . . . . . .  16
  319.                    Function   . . . . . . . . . . . . . . . . . .  16
  320.                    Syntax   . . . . . . . . . . . . . . . . . . .  16
  321.                    Examples   . . . . . . . . . . . . . . . . . .  16
  322.                  REP Command  . . . . . . . . . . . . . . . . . .  17
  323.                    Function   . . . . . . . . . . . . . . . . . .  17
  324.                    Syntax   . . . . . . . . . . . . . . . . . . .  17
  325.                    Examples   . . . . . . . . . . . . . . . . . .  17
  326.  
  327.  
  328.   Contents                                                          v
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  336.  
  337.  
  338.                    Notes  . . . . . . . . . . . . . . . . . . . .  17
  339.                  VER Command  . . . . . . . . . . . . . . . . . .  18
  340.                    Function   . . . . . . . . . . . . . . . . . .  18
  341.                    Syntax   . . . . . . . . . . . . . . . . . . .  18
  342.                    Examples   . . . . . . . . . . . . . . . . . .  18
  343.                Quick Reference Summary  . . . . . . . . . . . . .  19
  344.  
  345.                AppendixAppendixAppendixAppendix A.A.A.A. ERRORERRORERRORERROR MESSAGESMESSAGESMESSAGESMESSAGES   .... .... .... .... .... .... .... .... .... .... ....  20202020
  346.                Types of messages  . . . . . . . . . . . . . . . .  20
  347.                Recovering from errors   . . . . . . . . . . . . .  20
  348.                Explanation of Error Messages  . . . . . . . . . .  22
  349.  
  350.                AppendixAppendixAppendixAppendix B.B.B.B. SAMPLESAMPLESAMPLESAMPLE ZAPZAPZAPZAP FILESFILESFILESFILES   .... .... .... .... .... .... .... .... .... ....  31313131
  351.                DISCLAIMER   . . . . . . . . . . . . . . . . . . .  31
  352.                123.ZAP - Unprotect Lotus 123  . . . . . . . . . .  32
  353.                EW.ZAP - Unprotect EasyWriter  . . . . . . . . . .  34
  354.                FORMATV.ZAP - Make /V default for FORMAT.COM   . .  36
  355.                GEMGRAPH.ZAP - GRAPHICS.COM for Gemini printers  .  38
  356.                MS.ZAP - Unprotect MemoryShift   . . . . . . . . .  40
  357.                PECOLOR.ZAP - IBM Personal Editor color support  .  42
  358.                PELOGO.ZAP - Bypass IBM Personal Editor Logo   . .  45
  359.  
  360.                GlossaryGlossaryGlossaryGlossary   .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... ....  47474747
  361.  
  362.                IndexIndexIndexIndex  .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... .... ....  48484848
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.   Contents                                                         vi
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  402.  
  403.  
  404.   LIST____LISTLISTLIST_OF__OFOFOF_ILLUSTRATIONS_____________ILLUSTRATIONSILLUSTRATIONSILLUSTRATIONS
  405.  
  406.  
  407.  
  408.                Figure  1. Startup messages  . . . . . . . . . . . . 4
  409.                Figure  2. Exit message  . . . . . . . . . . . . . . 5
  410.                Figure  3. Original zap  . . . . . . . . . . . . . . 9
  411.                Figure  4. Switched zap  . . . . . . . . . . . . . . 9
  412.                Figure  5. Multiple zap file   . . . . . . . . . .  10
  413.                Figure  6. Sample output from DUMP command   . . .  14
  414.                Figure  7. Recovery prompt   . . . . . . . . . . .  21
  415.                Figure  8. PC-ZAP Return Codes   . . . . . . . . .  22
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.   List of Illustrations                                           vii
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  468.  
  469.  
  470.   CHAPTER_______CHAPTERCHAPTERCHAPTER_1.__1.1.1._INTRODUCTION____________INTRODUCTIONINTRODUCTIONINTRODUCTION
  471.  
  472.  
  473.  
  474.  
  475.  
  476.   DISTRIBUTION____________DISTRIBUTIONDISTRIBUTIONDISTRIBUTION_PACKAGE_______PACKAGEPACKAGEPACKAGE
  477.  
  478.                The distribution  package for  PC-ZAP consists  of the
  479.                following items:
  480.  
  481.                1.  The PC-ZAP version 2.0 User's Guide
  482.  
  483.                2.  The PC-ZAP version 2.0 distribution diskette
  484.  
  485.  
  486.   Distribution____________DistributionDistributionDistribution_Diskette________DisketteDisketteDiskette
  487.  
  488.  
  489.                The distribution diskette contains information on BOTH____BOTHBOTHBOTH
  490.                sides.  Each side is formatted  in single sided format
  491.                compatible with DOS  1.0, DOS 1.1 and DOS  2.0 using 8
  492.                sectors per  track (160KBytes per side).   Simply flip
  493.                the diskette over to access the other side.
  494.  
  495.                The diskette cannot______cannotcannotcannot be used to boot your system, since
  496.                it does not contain a copy of the DOS COMMAND.COM pro-
  497.                gram (due to copyright restrictions).
  498.  
  499.  
  500.                We recommend  that you copy  the PC-ZAP.EXE  file onto
  501.                another  diskette  and keep  the  PC-ZAP  distribution
  502.                diskette as  a backup.  The  programs and data  on the
  503.                diskette  are not  copy-protected  and  may be  copied
  504.                freely under the provisions  outlined in the "Preface"
  505.                of this document.
  506.  
  507.                The  distribution  diskette   contains  the  following
  508.                files:
  509.  
  510.                o   PC-ZAP.EXE
  511.  
  512.                o   PC-ZAP.DOC
  513.  
  514.                o   Sample ZAP files (xxx.ZAP)
  515.  
  516.                o   READ.ME
  517.  
  518.  
  519.   PC-ZAP.EXEPC-ZAP.EXEPC-ZAP.EXEPC-ZAP.EXE programprogramprogramprogram
  520.  
  521.                This program  is invoked from  DOS command  mode.  See
  522.                "PC-ZAP Command" on page 6  for a detailed description
  523.                of the command operands.
  524.  
  525.  
  526.   Chapter 1. Introduction                                           1
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  534.  
  535.  
  536.   PC-ZAP.DOCPC-ZAP.DOCPC-ZAP.DOCPC-ZAP.DOC documentdocumentdocumentdocument
  537.  
  538.                This file contains a copy   of the PC-ZAP User's Guide
  539.                and can be printed on a printer using the DOS PRINT or
  540.                COPY command.
  541.  
  542.  
  543.   SampleSampleSampleSample ZAPZAPZAPZAP filesfilesfilesfiles
  544.  
  545.                Several .ZAP  sample files have  been included  on the
  546.                distribution diskette  to illustrate the use  and ease
  547.                with which zaps can be  applied to enhance your exist-
  548.                ing software.  See  "Appendix B. SAMPLE ZAP  FILES" on
  549.                page 31  for details on how to apply these ZAPs.
  550.  
  551.  
  552.   READ.MEREAD.MEREAD.MEREAD.ME filefilefilefile
  553.  
  554.                This file is a text file which may include addenda and
  555.                corrections to this manual. Please  read this file (by
  556.                issuing the  DOS TYPE  command or  print it  using the
  557.                PRINT or COPY commands) before continuing to read this
  558.                manual.  See "Printing  the  Documentation" below  for
  559.                details.
  560.  
  561.  
  562.  
  563.   System______SystemSystemSystem_Requirements____________RequirementsRequirementsRequirements
  564.  
  565.  
  566.                PC-ZAP requires  an IBM PC  or PC/XT computer  with at
  567.                least the following:
  568.  
  569.                o   At least 64K of RAM
  570.  
  571.                o   DOS 1.0, 1.1 or 2.0.
  572.  
  573.                o   A floppy disk drive either single or double-sided.
  574.  
  575.                A printer  is optional  and can be  used to  print the
  576.                documentation  provided  on  the  distribution  floppy
  577.                diskette  as well  as  to  print output  listing  from
  578.                PC-ZAP runs.
  579.  
  580.                PC-ZAP was written in compiled BASIC and supports zap-
  581.                ping of  files on any disk  type supported by  the DOS
  582.                operating system under which it runs.
  583.  
  584.  
  585.   Printing________PrintingPrintingPrinting_the___thethethe_Documentation_____________DocumentationDocumentationDocumentation
  586.  
  587.                The  file PC-ZAP.DOC  may be  printed  on any  printer
  588.                which meets  the following criteria.  The file  may be
  589.  
  590.  
  591.  
  592.   Chapter 1. Introduction                                           2
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  600.  
  601.  
  602.                viewed  on the  screen  using  the DOS  TYPE  command,
  603.                although some overprinted lines may not be legible.
  604.  
  605.                The printer must meet the following conditions:
  606.  
  607.                o   Carriage return (decimal 13) must cause the print-
  608.                    er to  return to the  first column of  the current
  609.                    print line.  It must not___notnotnot skip to the next line.
  610.  
  611.                o   Line feed (decimal  10) must cause the  printer to
  612.                    advance to  the next  line.  It  is not  necessary
  613.                    that  the printer  return the  carriage to  column
  614.                    one.
  615.  
  616.                The paper you attempt to print this document on should
  617.                be 8.5 by  11 inches. The document is  formatted to be
  618.                printed at 66 lines per inch vertically, 10 characters
  619.                per inch horizontally.
  620.  
  621.                If you  should find that  the document will  not print
  622.                correctly, check that your printer satisfies the above
  623.                requirements.
  624.  
  625.  
  626.  
  627.   STARTING________STARTINGSTARTINGSTARTING_UP__UPUPUP_THE___THETHETHE_PROGRAM_______PROGRAMPROGRAMPROGRAM
  628.  
  629.                The PC-ZAP  program is distributed  on a  single sided
  630.                diskette.  To startup the program do the following:
  631.  
  632.                1.  MakeMakeMakeMake suresuresuresure youyouyouyou areareareare inininin DOSDOSDOSDOS commandcommandcommandcommand mode.mode.mode.mode.
  633.  
  634.                    If you have not powered up your IBM PC yet, insert
  635.                    your DOS  system disk  into drive  A (left  drive)
  636.                    first and  then turn  on the  power-switch on  the
  637.                    right side of the machine.
  638.  
  639.                    If you have already powered up your IBM PC, termi-
  640.                    nate whatever program you  are currently using, to
  641.                    get back to DOS command mode.
  642.  
  643.                    In either case, you should  see one of the follow-
  644.                    ing prompts on the screen,  with the cursor flash-
  645.                    ing next to it:
  646.  
  647.   +-----------------------------------------------------------------+
  648.   |                                                                 |
  649.   |               A>_A>_A>_A>_     orororor      B>_B>_B>_B>_                               |
  650.   |                                                                 |
  651.   +-----------------------------------------------------------------+
  652.  
  653.                2.  Insert the  PC-ZAP program diskette (or  any disk-
  654.                    ette  containing  file PC-ZAP.EXE  into  the  left
  655.                    drive  (drive  A)  or the  right  one  (drive  B),
  656.  
  657.  
  658.   Chapter 1. Introduction                                           3
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  666.  
  667.  
  668.                    depending on  which prompt  is being  displayed on
  669.                    the screen.
  670.  
  671.  
  672.                3.  Invoke the PC-ZAP program by typing in:
  673.  
  674.   +-----------------------------------------------------------------+
  675.   |               PC-ZAP;PC-ZAP;PC-ZAP;PC-ZAP;                                           |
  676.   +-----------------------------------------------------------------+
  677.  
  678.                    and  then  pressing  the  "ENTER""ENTER""ENTER""ENTER"  key.  The  word
  679.                    "PC-ZAP" may be  typed in either upper-  or lower-
  680.                    case letters or any combination.
  681.  
  682.                4.  After  some  clicking and  whirring you  should be
  683.                    presented with the following messages:
  684.  
  685.   +-----------------------------------------------------------------+
  686.   |                                                   OctoberOctoberOctoberOctober 1983198319831983  |
  687.   |                                                                 |
  688.   |                PPPP CCCC ---- ZZZZ AAAA PPPP   vvvv eeee rrrr ssss iiii oooo nnnn   2.002.002.002.00               |
  689.   |                                                                 |
  690.   |   ------------ PI\WAREPI\WAREPI\WAREPI\WARE --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------   |
  691.   |                                                                 |
  692.   |      IfIfIfIf youyouyouyou areareareare usingusingusingusing thisthisthisthis programprogramprogramprogram andandandand findingfindingfindingfinding itititit ofofofof valuevaluevaluevalue      |
  693.   |      youryouryouryour contributioncontributioncontributioncontribution ($20($20($20($20 suggested)suggested)suggested)suggested) willwillwillwill bebebebe appreciated.appreciated.appreciated.appreciated.     |
  694.   |                                                                 |
  695.   |                                                                 |
  696.   |                      PeltPeltPeltPelt IndustriesIndustriesIndustriesIndustries                            |
  697.   |                121121121121 BuckinghamBuckinghamBuckinghamBuckingham Drive,Drive,Drive,Drive, SuiteSuiteSuiteSuite 55555555                   |
  698.   |                   SantaSantaSantaSanta Clara,Clara,Clara,Clara, CACACACA  95050950509505095050                        |
  699.   |                                                                 |
  700.   |        YouYouYouYou areareareare encouragedencouragedencouragedencouraged totototo copycopycopycopy andandandand shareshareshareshare thisthisthisthis programprogramprogramprogram        |
  701.   |    withwithwithwith otherotherotherother usersusersusersusers onononon thethethethe conditionsconditionsconditionsconditions thatthatthatthat thethethethe programprogramprogramprogram isisisis notnotnotnot   |
  702.   |    distributeddistributeddistributeddistributed inininin modifiedmodifiedmodifiedmodified form,form,form,form, thatthatthatthat nononono feefeefeefee orororor considerationconsiderationconsiderationconsideration   |
  703.   |    isisisis charged,charged,charged,charged, andandandand thatthatthatthat thisthisthisthis noticenoticenoticenotice isisisis notnotnotnot bypassbypassbypassbypass orororor removed.removed.removed.removed.   |
  704.   |                                                                 |
  705.   |                                                                 |
  706.   |              (C)(C)(C)(C) CopyrightCopyrightCopyrightCopyright MarkusMarkusMarkusMarkus PeltPeltPeltPelt 1983198319831983                     |
  707.   |                                                                 |
  708.   |   --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------   |
  709.   |                                                                 |
  710.   | Figure 1.  Startup messages                                     |
  711.   +-----------------------------------------------------------------+
  712.  
  713.  
  714.  
  715.   ENDING______ENDINGENDINGENDING_THE___THETHETHE_PROGRAM_______PROGRAMPROGRAMPROGRAM
  716.  
  717.                To end  the PC-ZAP  program you  can simply  press the
  718.                "Ctrl-Break""Ctrl-Break""Ctrl-Break""Ctrl-Break"  key.   If you are using  PC-ZAP interac-
  719.                tively,  you can  terminate  the  program by  entering
  720.                "END""END""END""END"  whenever you see the "ZAP>" prompt:
  721.  
  722.  
  723.  
  724.   Chapter 1. Introduction                                           4
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  732.  
  733.  
  734.  
  735.   +-----------------------------------------------------------------+
  736.   |                                                                 |
  737.   |               ZAP>ZAP>ZAP>ZAP> end_end_end_end_                                         |
  738.   |                                                                 |
  739.   +-----------------------------------------------------------------+
  740.  
  741.  
  742.                PC-ZAP will display the following messages when termi-
  743.                nating:
  744.  
  745.   +-----------------------------------------------------------------+
  746.   |                                                                 |
  747.   |                ZAP000IZAP000IZAP000IZAP000I PC-ZAPPC-ZAPPC-ZAPPC-ZAP ENDEDENDEDENDEDENDED ---- RETURNRETURNRETURNRETURN CODECODECODECODE xxxxxxxx            |
  748.   |                                                                 |
  749.   |                                                                 |
  750.   | Figure 2.  Exit message                                         |
  751.   +-----------------------------------------------------------------+
  752.  
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.   Chapter 1. Introduction                                           5
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  798.  
  799.  
  800.   CHAPTER_______CHAPTERCHAPTERCHAPTER_2.__2.2.2._PROGRAM_______PROGRAMPROGRAMPROGRAM_OPERATION_________OPERATIONOPERATIONOPERATION
  801.  
  802.  
  803.  
  804.  
  805.  
  806.   PC-ZAP______PC-ZAPPC-ZAPPC-ZAP_COMMAND_______COMMANDCOMMANDCOMMAND
  807.  
  808.  
  809.  
  810.   FunctionFunctionFunctionFunction
  811.  
  812.                The PC-ZAP command  is used to invoke  the PC-ZAP pro-
  813.                gram (file name PC-ZAP.EXE) and to specify the initial
  814.                defaults for the input, output and list files.
  815.  
  816.                PC-ZAP uses three files:  an  inputfile (zap file), an
  817.                output file (file to be  zapped) and listing file (for
  818.                DUMP command).   Defaults are assigned for  each file,
  819.                unless you  override them when  you invoke  the PC-ZAP
  820.                command:
  821.  
  822.  
  823.   SyntaxSyntaxSyntaxSyntax
  824.  
  825.  
  826.   +-----------------------------------------------------------------+
  827.   |                                                                 |
  828.   |               PC-ZAPPC-ZAPPC-ZAPPC-ZAP infileinfileinfileinfile outfileoutfileoutfileoutfile listfile;listfile;listfile;listfile;                   |
  829.   |                                                                 |
  830.   +-----------------------------------------------------------------+
  831.  
  832.                where
  833.  
  834.                infileinfileinfileinfile    is the  name of  the input  file.  This  may
  835.                          either   be  the   name  of   a  disk   file
  836.                          (drive:name.ext),  "CON:" or  "*".  If  CON:
  837.                          or "*" is specified or  you enter the PC-ZAP
  838.                          command  without  operands,  input  commands
  839.                          will  come  from the  keyboard  (interactive
  840.                          mode).   If a  file  name  is specified  the
  841.                          input file must  be an ASCII text  file con-
  842.                          sisting of single line commands (BASE, NAME,
  843.                          VER,  REP, DUMP  or END)  and any  operands.
  844.                          Input lines can be  upto 254 characters long
  845.                          and  must   be  terminated  by   a  carriage
  846.                          return/line feed  sequence. The  end of  the
  847.                          file must  be indicated  by a  hexadecmal 1A
  848.                          (Ctrl-Z) byte.
  849.  
  850.                outfileoutfileoutfileoutfile   is the name  of the file to  be zapped. This
  851.                          is the initial file to which all VER and REP
  852.                          cards will  be applied. A  NAME card  in the
  853.  
  854.  
  855.  
  856.   Chapter 2. Program Operation                                      6
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  864.  
  865.  
  866.                          input file will override  any subsequent VER
  867.                          and REP cards, however.
  868.  
  869.                          This file  must____mustmustmust be the  name of  an existing
  870.                          file on disk.
  871.  
  872.                listfilelistfilelistfilelistfile  is the name  of the file to  which a listing
  873.                          of messages and file  dumps will be printed.
  874.                          The  list file  can  be  a printer  (specify
  875.                          "LPT1:" or  "LPT2") or a disk  file (specify
  876.                          "drive:name.ext".) If you  specify "CON:" or
  877.                          "*" or if you enter the PC-ZAP command with-
  878.                          out this operand, then  all such output will
  879.                          be displayed on the console screen.
  880.  
  881.                          If the  list file  is not___notnotnot   directed to  the
  882.                          console, then any lines printed to the list-
  883.                          ing file are also echoed to the console (ex-
  884.                          cept for actual DUMP  command output).  This
  885.                          allows you to see all error messages.
  886.  
  887.                If you  enter a semicolon  after the last  operand (or
  888.                after the PC-ZAP command itself without operands), any
  889.                remaining unspecified are defaulted to:
  890.  
  891.                      PC-ZAP CON: * CON:
  892.  
  893.                If you specify less than  three operands on the PC-ZAP
  894.                command, and do not terminate it with a semicolon, you
  895.                will be prompted for any unspecified operands.
  896.  
  897.  
  898.   ExamplesExamplesExamplesExamples
  899.  
  900.                  PC-ZAP;
  901.                  PC-ZAP * * LPT1:
  902.                  PC-ZAP * * COM1:;
  903.                  PC-ZAP MS.ZAP MS.EXE
  904.  
  905.                The first example, takes  all defaults without prompt-
  906.                ing. The second takes all  defaults but routes the run
  907.                listing to  your printer.  The third  is the  same but
  908.                routes the run listing to  the COM1: device. (modem or
  909.                serial printer hopefully). The  last example will take
  910.                input commands from file MS.ZAP. If this file contains
  911.                VER or REP commands without a preceeding NAME command,
  912.                these commands will apply to  file MS.EXE.  Since only
  913.                two operands  were given  in the  last example  and no
  914.                trailing  semicolon  was  entered, the  user  will  be
  915.                prompted for the third operand (run listing).
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.   Chapter 2. Program Operation                                      7
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  930.  
  931.  
  932.   NotesNotesNotesNotes
  933.  
  934.                For DOS 2.0 users:
  935.  
  936.                PC-ZAP was written in BASIC  and compiled with the IBM
  937.                BASIC compiler which does not support path names.  You
  938.                should use the DOS CHDIR  command for each drive which
  939.                you intend to  use (prior_____priorpriorprior  to issuing  the PC-ZAP com-
  940.                mand) to select the correct  directory to be used when
  941.                PC-ZAP accesses any files from the drive.
  942.  
  943.  
  944.  
  945.   ZAP___ZAPZAPZAP_FILES_____FILESFILESFILES
  946.  
  947.                To invoke PC-ZAP in batch  mode, you must first create
  948.                a zap___zapzapzap__file____filefilefile:  an ASCII  text file  containing commands
  949.                such as  NAME, VER, REP,  BASE and DUMP)  and comments
  950.                (starting with an  asterisk in column one  of a line).
  951.                Zap files  can be created  using any editor  which can
  952.                edit  standard  text  files.   Sample  zap  files  are
  953.                included on  the PC-ZAP distribution diskette  and are
  954.                listed and discussed in detail  in "Appendix B. SAMPLE
  955.                ZAP FILES" on page 31.
  956.  
  957.  
  958.   Order_____OrderOrderOrder_of__ofofof_Commands________CommandsCommandsCommands
  959.  
  960.                The general outline of a zap is:
  961.  
  962.                1.  NAME command
  963.  
  964.                2.  BASE command
  965.  
  966.                3.  VER command(s)
  967.  
  968.                4.  REP command(s)
  969.  
  970.                All statements are optional.  If  you do not include a
  971.                NAME command, the  name of the file to  be zapped will
  972.                be taken from the PC-ZAP command.  You must have spec-
  973.                ified a file name for the second operand on the PC-ZAP
  974.                command in this  case.  If you do not  specify any VER
  975.                statements,  no   verification  is   performed  before
  976.                replacing data  (by the  following REP  commands).  If
  977.                you do not specify any  REP commands then only verifi-
  978.                cation of data  takes place (assuming you  did include
  979.                VER statements.) Specifying only  a NAME command, will
  980.                verify the existence of the named file only.
  981.  
  982.  
  983.   Uses____UsesUsesUses_of__ofofof_the___thethethe_VER___VERVERVER_statement_________statementstatementstatement
  984.  
  985.  
  986.  
  987.  
  988.   Chapter 2. Program Operation                                      8
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  996.  
  997.  
  998.                The use  of the  VER command may  seem elusive.  It is
  999.                primarily intended  to ensure that  you do  not change
  1000.                the wrong  file by  accident.  VER  statements can  be
  1001.                used to:
  1002.  
  1003.                o   Check  the  version  number of  a  program  to  be
  1004.                    zapped,  by  including  a VER  statement  for  the
  1005.                    appropriate address  within the file  (an initial-
  1006.                    ization message for example).
  1007.  
  1008.                o   Check the program code of  a program to be zapped.
  1009.                    This prevents  accidental application of a  zap to
  1010.                    the same  file twice, by  checking the code  to be
  1011.                    changed with a VER  statement before replacing the
  1012.                    some locations with a REP statement.
  1013.  
  1014.                Although not necssary, it is  good practice to include
  1015.                a VER command for each location  which is changed by a
  1016.                subsequent REP  command. If you follow  this practice,
  1017.                you can  "undo" a change  simply by switching  the VER
  1018.                and REP cards. For example:
  1019.  
  1020.   +-----------------------------------------------------------------+
  1021.   |                                                                 |
  1022.   |             NAMENAMENAMENAME COMMAND.COMCOMMAND.COMCOMMAND.COMCOMMAND.COM                                    |
  1023.   |             VERVERVERVER ED8ED8ED8ED8 54686520546865205468652054686520   TheTheTheThe                              |
  1024.   |             VERVERVERVER EDCEDCEDCEDC 49424D49424D49424D49424D     IBMIBMIBMIBM                              |
  1025.   |             REPREPREPREP ED8ED8ED8ED8 20202020202020202020202020202020   (blanks)(blanks)(blanks)(blanks)                         |
  1026.   |             REPREPREPREP EDCEDCEDCEDC 202020202020202020202020     (blanks)(blanks)(blanks)(blanks)                         |
  1027.   |                                                                 |
  1028.   |                                                                 |
  1029.   | Figure 3.  Original zap                                         |
  1030.   +-----------------------------------------------------------------+
  1031.  
  1032.                If  you decide  to  change your  mind  after you  have
  1033.                applied the above zap, simply apply the switched zap:
  1034.  
  1035.   +-----------------------------------------------------------------+
  1036.   |                                                                 |
  1037.   |             NAMENAMENAMENAME COMMAND.COMCOMMAND.COMCOMMAND.COMCOMMAND.COM                                    |
  1038.   |             VERVERVERVER ED8ED8ED8ED8 20202020202020202020202020202020   (blanks)(blanks)(blanks)(blanks)                         |
  1039.   |             VERVERVERVER EDCEDCEDCEDC 202020202020202020202020     (blanks)(blanks)(blanks)(blanks)                         |
  1040.   |             REPREPREPREP ED8ED8ED8ED8 54686520546865205468652054686520   TheTheTheThe                              |
  1041.   |             REPREPREPREP EDCEDCEDCEDC 49424D49424D49424D49424D     IBMIBMIBMIBM                              |
  1042.   |                                                                 |
  1043.   |                                                                 |
  1044.   | Figure 4.  Switched zap                                         |
  1045.   +-----------------------------------------------------------------+
  1046.  
  1047.                Note that the  VER commands should always  preceed the
  1048.                REP commands.
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.   Chapter 2. Program Operation                                      9
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1062.  
  1063.  
  1064.   The___TheTheThe_NOGO____NOGONOGONOGO_switch______switchswitchswitch
  1065.  
  1066.                PC-ZAP uses  a switch  to indicate  whether it  should
  1067.                continue processing REP commands or not.  The NAME (or
  1068.                DUMP command) will reset the  NOGO switch (to GO ahead
  1069.                and process REP commands).  Any error in a zap (usual-
  1070.                ly caused by a VER  command verification failure) will
  1071.                cause the  NOGO switch to  be set. Any  subsequent REP
  1072.                commands will not be  processed (rejected with message
  1073.                ZAP091E). This prevents accidental  changes being made
  1074.                to a file.
  1075.  
  1076.                Note  that  VER  and REP  commands  are  processed  in
  1077.                sequence. For  this reason,  VER statements  should be
  1078.                specified before any REP statements.
  1079.  
  1080.  
  1081.  
  1082.   Multiple________MultipleMultipleMultiple_zap___zapzapzap_files_____filesfilesfiles
  1083.  
  1084.                The NOGO switch  can also be used  to include multiple
  1085.                zaps into a single file. This is especially handy when
  1086.                you  have a  zap  which differs  from  one release  to
  1087.                another for a program. For example:
  1088.  
  1089.   +-----------------------------------------------------------------+
  1090.   |                                                                 |
  1091.   |           NAMENAMENAMENAME COMMAND.COMCOMMAND.COMCOMMAND.COMCOMMAND.COM                   ReleaseReleaseReleaseRelease 2.02.02.02.0 zapzapzapzap    |
  1092.   |           VERVERVERVER 0EF70EF70EF70EF7 56657273696F6E20322E303056657273696F6E20322E303056657273696F6E20322E303056657273696F6E20322E3030  VersionVersionVersionVersion 2.002.002.002.00       |
  1093.   |           REPREPREPREP 0EF70EF70EF70EF7 20202020202020202020202020202020202020202020202020202020            (blanks)(blanks)(blanks)(blanks)           |
  1094.   |           NAMENAMENAMENAME COMMAND.COMCOMMAND.COMCOMMAND.COMCOMMAND.COM                   ReleaseReleaseReleaseRelease 1.11.11.11.1 zapzapzapzap    |
  1095.   |           VERVERVERVER 03D603D603D603D6 56657273696F6E20312E313056657273696F6E20312E313056657273696F6E20312E313056657273696F6E20312E3130  VersionVersionVersionVersion 1.101.101.101.10       |
  1096.   |           REPREPREPREP 03D603D603D603D6 20202020202020202020202020202020202020202020202020202020            (blanks)(blanks)(blanks)(blanks)           |
  1097.   |                                                                 |
  1098.   |                                                                 |
  1099.   | Figure 5.  Multiple zap file                                    |
  1100.   +-----------------------------------------------------------------+
  1101.  
  1102.                If the  above zap is  applied to DOS  2.0 COMMAND.COM,
  1103.                the first NAME, VER and REP commands will be executed.
  1104.                The second set will fail verification (the VER command
  1105.                will set the  NOGO switch and cause the  last REP com-
  1106.                mand to be skipped). If the same zap is applied to DOS
  1107.                1.1 COMMAND.COM, the first set of statements will fail
  1108.                (the first VER command will  set the NOGO switch caus-
  1109.                ing all REP commands upto the  next NAME command to be
  1110.                skipped). But  the second  set of  statements will  be
  1111.                executed correctly.   If this  zap is  applied to  any
  1112.                other  COMMAND.COM, both  VERs will  fail and  nothing
  1113.                will be changed.
  1114.  
  1115.                The above zap merely replaces  the word "Version" with
  1116.                blanks.
  1117.  
  1118.  
  1119.  
  1120.   Chapter 2. Program Operation                                     10
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1128.  
  1129.  
  1130.   Notes_____NotesNotesNotes
  1131.  
  1132.                You should be careful not to be too succinct when ver-
  1133.                ifying data.  The VER statement  is the only  means to
  1134.                check whether  you are applying  a zap to  the correct
  1135.                file. If unsure, always make a backup copy of the file
  1136.                to be zapped, prior to zapping it.
  1137.  
  1138.  
  1139.  
  1140.   INTERACTIVE___________INTERACTIVEINTERACTIVEINTERACTIVE_MODE____MODEMODEMODE
  1141.  
  1142.                To invoke PC-ZAP in interactive mode, simply enter the
  1143.                PC-ZAP command without any operands.
  1144.  
  1145.   +-----------------------------------------------------------------+
  1146.   |                                                                 |
  1147.   |               PC-ZAP;PC-ZAP;PC-ZAP;PC-ZAP;                                           |
  1148.   |                                                                 |
  1149.   +-----------------------------------------------------------------+
  1150.  
  1151.                In interactive mode,  PC-ZAP will prompt you  for com-
  1152.                mands by displaying the prompt:
  1153.  
  1154.   +-----------------------------------------------------------------+
  1155.   |                                                                 |
  1156.   |               ZAP>_ZAP>_ZAP>_ZAP>_                                             |
  1157.   |                                                                 |
  1158.   +-----------------------------------------------------------------+
  1159.  
  1160.                Whenever  this  prompt  is displayed,  you  may  enter
  1161.                another VER, REP,  NAME, BASE or DUMP  command; termi-
  1162.                nate  each line  with the  "ENTER"  key. To  terminate
  1163.                PC-ZAP, simply enter the "END" command.
  1164.  
  1165.  
  1166.   Ctrl-Break__________Ctrl-BreakCtrl-BreakCtrl-Break
  1167.  
  1168.                The  Ctrl-Break key  (hold  down  the Ctrl  key  while
  1169.                pressing  the key  labeled  "Scroll Lock/Break")  will
  1170.                interrupt  any command  currently  being executed  and
  1171.                return the "ZAP>" prompt.  You may then type in anoth-
  1172.                er command.  The terminate PC-ZAP enter the "END" com-
  1173.                mand (see "END Command" on page 15.)
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.   Chapter 2. Program Operation                                     11
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1194.  
  1195.  
  1196.   CHAPTER_______CHAPTERCHAPTERCHAPTER_3.__3.3.3._REFERENCE_________REFERENCEREFERENCEREFERENCE
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.   PC-ZAP______PC-ZAPPC-ZAPPC-ZAP_COMMANDS________COMMANDSCOMMANDSCOMMANDS
  1203.  
  1204.                PC-ZAP can  dump, verify and  replace data in  any DOS
  1205.                file. The commands available are:
  1206.  
  1207.                o   DUMP
  1208.                o   END
  1209.                o   NAME
  1210.                o   VER
  1211.                o   REP
  1212.                o   BASE
  1213.  
  1214.                The following  pages discuss each  command  in detail.
  1215.                Commands are  discussed in alpabetical order  for easy
  1216.                reference.
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.  
  1248.  
  1249.  
  1250.  
  1251.  
  1252.   Chapter 3. Reference                                             12
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1260.  
  1261.  
  1262.   BASE____BASEBASEBASE_Command_______CommandCommandCommand
  1263.  
  1264.  
  1265.  
  1266.   FunctionFunctionFunctionFunction
  1267.  
  1268.                The BASE command  is used to specify  the base address
  1269.                for subsequent VER and REP  commands. The base address
  1270.                specified on the  BASE command is added  to the offset
  1271.                of all subsequent  VER and REP cards.  This allows for
  1272.                offsets to be specified as  they appear in assembly or
  1273.                compilation listings.
  1274.  
  1275.  
  1276.   SyntaxSyntaxSyntaxSyntax
  1277.  
  1278.  
  1279.   +-----------------------------------------------------------------+
  1280.   |                                                                 |
  1281.   |                BASEBASEBASEBASE offsetoffsetoffsetoffset [comment][comment][comment][comment]                            |
  1282.   |                                                                 |
  1283.   +-----------------------------------------------------------------+
  1284.  
  1285.                where
  1286.  
  1287.                offsetoffsetoffsetoffset    is the hexadecimal offset to be added to the
  1288.                          offsets specified on all  subsequent VER and
  1289.                          REP commands (until another  BASE command is
  1290.                          encountered).  You must specify an even num-
  1291.                          ber of hexadecimal digits for this operand.
  1292.  
  1293.                commentcommentcommentcomment   is an  optional string  of characters  sepa-
  1294.                          rated from the offset by one or more blanks.
  1295.  
  1296.  
  1297.   ExamplesExamplesExamplesExamples
  1298.  
  1299.                  BASE 0100
  1300.                  BASE 0200   Common value for .EXE files
  1301.  
  1302.  
  1303.   NotesNotesNotesNotes
  1304.  
  1305.                Subsequent VER  and REP cards may  fail if the  sum of
  1306.                offset and  base value  exceeds the  size of  the file
  1307.                being zapped.
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.   Chapter 3. Reference                                             13
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1326.  
  1327.  
  1328.   DUMP____DUMPDUMPDUMP_command_______commandcommandcommand
  1329.  
  1330.  
  1331.  
  1332.   FunctionFunctionFunctionFunction
  1333.  
  1334.                The dump command will display or print the contents of
  1335.                a file  in hexadecimal  as well as  ASCI 16  bytes per
  1336.                line.
  1337.  
  1338.  
  1339.   SyntaxSyntaxSyntaxSyntax
  1340.  
  1341.  
  1342.   +-----------------------------------------------------------------+
  1343.   |                                                                 |
  1344.   |                DUMPDUMPDUMPDUMP filespecfilespecfilespecfilespec [comment][comment][comment][comment]                          |
  1345.   |                                                                 |
  1346.   +-----------------------------------------------------------------+
  1347.  
  1348.                where
  1349.  
  1350.                filespecfilespecfilespecfilespec  is the  name of the  file to be  dumped. You
  1351.                          cannot include a path name, hence only files
  1352.                          within the current directory for any partic-
  1353.                          ular drive can be dumped.
  1354.  
  1355.                commentcommentcommentcomment   is an  optional string  of characters  sepa-
  1356.                          rated  from  the  filespec by  one  or  more
  1357.                          blanks.
  1358.  
  1359.  
  1360.   ExamplesExamplesExamplesExamples
  1361.  
  1362.                  DUMP COMMAND.COM
  1363.                  DUMP A:LINK.EXE
  1364.  
  1365.                The format of the dump looks like:
  1366.  
  1367.   -------------------------------------------------------------------
  1368.  
  1369.     000000000000000000000000   4D4D4D4D 6A6A6A6A 72727272 01010101 86868686 00000000 10101010 0A-A00A-A00A-A00A-A0 02020202 77777777 01010101 FFFFFFFF FFFFFFFF 6E6E6E6E 0F0F0F0F *Mzr.......w...m.**Mzr.......w...m.**Mzr.......w...m.**Mzr.......w...m.*
  1370.     000010000010000010000010   4D4D4D4D 6A6A6A6A 72727272 01010101 86868686 00000000 10101010 0A-A00A-A00A-A00A-A0 02020202 77777777 01010101 FFFFFFFF FFFFFFFF 6E6E6E6E 0F0F0F0F *Mzr.......w...m.**Mzr.......w...m.**Mzr.......w...m.**Mzr.......w...m.*
  1371.     000020000020000020000020   4D4D4D4D 6A6A6A6A 72727272 01010101 86868686 00000000 10101010 0A-A00A-A00A-A00A-A0 02020202 77777777 01010101 FFFFFFFF FFFFFFFF 6E6E6E6E 0F0F0F0F *Mzr.......w...m.**Mzr.......w...m.**Mzr.......w...m.**Mzr.......w...m.*
  1372.     000030000030000030000030   4D4D4D4D 6A6A6A6A 72727272 01010101 86868686 00000000 10101010 0A-A00A-A00A-A00A-A0 02020202 77777777 01010101 FFFFFFFF FFFFFFFF 6E6E6E6E 0F0F0F0F *Mzr.......w...m.**Mzr.......w...m.**Mzr.......w...m.**Mzr.......w...m.*
  1373.          ....
  1374.          ....
  1375.          ....
  1376.  
  1377.     Figure 6.  Sample output from DUMP command
  1378.   -------------------------------------------------------------------
  1379.  
  1380.                Note:Note:Note:Note: In   interactive  mode,   you   may  press   the
  1381.                Ctrl-Break key to interrupt the DUMP command output.
  1382.  
  1383.  
  1384.   Chapter 3. Reference                                             14
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1392.  
  1393.  
  1394.   END___ENDENDEND_Command_______CommandCommandCommand
  1395.  
  1396.  
  1397.  
  1398.   FunctionFunctionFunctionFunction
  1399.  
  1400.                The END command  is used to terminate  PC-ZAP. If used
  1401.                in a  zap file, it  should be  the last command  as no
  1402.                subsequent commands in the file  will be processed. If
  1403.                this command is not used, an END command is assumed at
  1404.                the end of a zap file.  This command is the only means
  1405.                of terminating  PC-ZAP when  operating in  interactive
  1406.                mode.
  1407.  
  1408.  
  1409.   SyntaxSyntaxSyntaxSyntax
  1410.  
  1411.  
  1412.   +-----------------------------------------------------------------+
  1413.   |                                                                 |
  1414.   |                ENDENDENDEND                                              |
  1415.   |                                                                 |
  1416.   +-----------------------------------------------------------------+
  1417.  
  1418.                This command has no operands.
  1419.  
  1420.  
  1421.   NotesNotesNotesNotes
  1422.  
  1423.                The  END command  will  close  all files  causing  all
  1424.                unwritten changes to be recorded to disk. It is possi-
  1425.                ble in interactive mode that  you loose changes (REPs)
  1426.                if you  turn off your  machine (or reboot  it) without
  1427.                ending PC-ZAP, as some buffers may not have been writ-
  1428.                ten back to disk yet. To  ensure against this, be sure
  1429.                to  terminate  PC-ZAP  and wait  for  message  ZAP000I
  1430.                before turning power off or rebooting your machine.
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.   Chapter 3. Reference                                             15
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456.  
  1457.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1458.  
  1459.  
  1460.   NAME____NAMENAMENAME_Command_______CommandCommandCommand
  1461.  
  1462.  
  1463.  
  1464.   FunctionFunctionFunctionFunction
  1465.  
  1466.                The NAME command is used to specify the name of a file
  1467.                to be zapped. Subsequent VER, REP and BASE cards apply
  1468.                to this  file until another  NAME command  is encount-
  1469.                ered.
  1470.  
  1471.  
  1472.   SyntaxSyntaxSyntaxSyntax
  1473.  
  1474.  
  1475.   +-----------------------------------------------------------------+
  1476.   |                                                                 |
  1477.   |                NAMENAMENAMENAME  filespecfilespecfilespecfilespec [comment][comment][comment][comment]                         |
  1478.   |                                                                 |
  1479.   +-----------------------------------------------------------------+
  1480.  
  1481.                where
  1482.  
  1483.                filespecfilespecfilespecfilespec  is the  name of the  file to be  zapped. You
  1484.                          cannot include a path name, hence only files
  1485.                          within the current directory for any partic-
  1486.                          ular drive can be zapped.
  1487.  
  1488.                commentcommentcommentcomment   is an  optional string  of characters  sepa-
  1489.                          rated  from  the  filespec by  one  or  more
  1490.                          blanks.
  1491.  
  1492.  
  1493.   ExamplesExamplesExamplesExamples
  1494.  
  1495.                  NAME COMMAND.COM
  1496.                  NAME A:LINK.EXE
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.  
  1503.  
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.   Chapter 3. Reference                                             16
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1524.  
  1525.  
  1526.   REP___REPREPREP_Command_______CommandCommandCommand
  1527.  
  1528.  
  1529.  
  1530.   FunctionFunctionFunctionFunction
  1531.  
  1532.                The REP command is used to replace data in a file. REP
  1533.                commands are  not executed  if the  "NOGO" switch  has
  1534.                been set by  a previous VER command, or  by a previous
  1535.                REP command which contained an error.
  1536.  
  1537.                The "NOGO"  switch is  reset by  a subsequent  NAME or
  1538.                DUMP command.
  1539.  
  1540.  
  1541.   SyntaxSyntaxSyntaxSyntax
  1542.  
  1543.  
  1544.   +-----------------------------------------------------------------+
  1545.   |                                                                 |
  1546.   |                REPREPREPREP offsetoffsetoffsetoffset datadatadatadata [comment][comment][comment][comment]                        |
  1547.   |                                                                 |
  1548.   +-----------------------------------------------------------------+
  1549.  
  1550.                where
  1551.  
  1552.                offsetoffsetoffsetoffset    is the  hexadecimal offset  within the  file
  1553.                          where data is to be replaced. If a BASE com-
  1554.                          mand was previously specified,  its value is
  1555.                          added  to the  offset. You  must specify  an
  1556.                          even number of hexadecimal digits.
  1557.  
  1558.                datadatadatadata      is the  hexadecimal data which  will replace
  1559.                          the data in the file at the specified offset
  1560.                          (or offset plus base value if a BASE command
  1561.                          was used).  You must  specify an even number
  1562.                          of hexadecimal digits for this operand.
  1563.  
  1564.                commentcommentcommentcomment   is an  optional string  of characters  sepa-
  1565.                          rated from the data by one or more blanks.
  1566.  
  1567.  
  1568.   ExamplesExamplesExamplesExamples
  1569.  
  1570.                  REP 00 01
  1571.                  REP 0100 FF3604F4
  1572.  
  1573.  
  1574.   NotesNotesNotesNotes
  1575.  
  1576.                If the offset  or data operands are  invalid, the NOGO
  1577.                switch is  set, and  this REP command  as well  as all
  1578.                subsequent REP  commands (upto the  next DUMP  or NAME
  1579.                commands) will not be executed.
  1580.  
  1581.  
  1582.   Chapter 3. Reference                                             17
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1590.  
  1591.  
  1592.   VER___VERVERVER_Command_______CommandCommandCommand
  1593.  
  1594.  
  1595.  
  1596.   FunctionFunctionFunctionFunction
  1597.  
  1598.                The VER command is used to  verify the data within the
  1599.                file matches that  specified on the VER  command. This
  1600.                command is normally used to  make sure that subsequent
  1601.                VER cards will be applied to  the correct version of a
  1602.                module. One or more VER cards are included in front of
  1603.                the REP cards  to verify for specific data.  If any of
  1604.                the VER commands fails, the "NOGO" switch is set which
  1605.                precludes any  subsequent REP  cards from  being proc-
  1606.                essed.
  1607.  
  1608.                The "NOGO"  switch is  reset by  a subsequent  NAME or
  1609.                DUMP command.
  1610.  
  1611.  
  1612.   SyntaxSyntaxSyntaxSyntax
  1613.  
  1614.  
  1615.   +-----------------------------------------------------------------+
  1616.   |                                                                 |
  1617.   |                VERVERVERVER offsetoffsetoffsetoffset datadatadatadata [comment][comment][comment][comment]                        |
  1618.   |                                                                 |
  1619.   +-----------------------------------------------------------------+
  1620.  
  1621.                where
  1622.  
  1623.                offsetoffsetoffsetoffset    is the  hexadecimal offset  within the  file
  1624.                          where data is to be verified. If a BASE com-
  1625.                          mand was previously specified,  its value is
  1626.                          added  to the  offset. You  must specify  an
  1627.                          even number of hexadecimal digits.
  1628.  
  1629.                datadatadatadata      is the  hexadecimal data which  should match
  1630.                          the data in the file at the specified offset
  1631.                          (or offset plus base value if a BASE command
  1632.                          was used).  You must  specify an even number
  1633.                          of hexadecimal digits for  this operand.  If
  1634.                          the file  contents does not match,  the NOGO
  1635.                          switch is set.
  1636.  
  1637.                commentcommentcommentcomment   is an  optional string  of characters  sepa-
  1638.                          rated from the data by one or more blanks.
  1639.  
  1640.  
  1641.   ExamplesExamplesExamplesExamples
  1642.  
  1643.                  VER 00 01
  1644.                  VER 0100 FF3604F4
  1645.  
  1646.  
  1647.  
  1648.   Chapter 3. Reference                                             18
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1656.  
  1657.  
  1658.   QUICK_____QUICKQUICKQUICK_REFERENCE_________REFERENCEREFERENCEREFERENCE_SUMMARY_______SUMMARYSUMMARYSUMMARY
  1659.  
  1660.                Invocation:
  1661.  
  1662.   +-----------------------------------------------------------------+
  1663.   |                                                                 |
  1664.   |               PC-ZAPPC-ZAPPC-ZAPPC-ZAP infileinfileinfileinfile outfileoutfileoutfileoutfile listfile;listfile;listfile;listfile;                   |
  1665.   |                                                                 |
  1666.   +-----------------------------------------------------------------+
  1667.  
  1668.                Defaults:
  1669.  
  1670.                   PC-ZAP CON: * CON:
  1671.  
  1672.                Commands:
  1673.  
  1674.   +-----------------------------------------------------------------+
  1675.   |                                                                 |
  1676.   |      BASEBASEBASEBASE offsetoffsetoffsetoffset [comment][comment][comment][comment]                                      |
  1677.   |                                                                 |
  1678.   |      DUMPDUMPDUMPDUMP filespecfilespecfilespecfilespec [comment][comment][comment][comment]                                    |
  1679.   |                                                                 |
  1680.   |      ENDENDENDEND                                                        |
  1681.   |                                                                 |
  1682.   |      NAMENAMENAMENAME  filespecfilespecfilespecfilespec [comment][comment][comment][comment]                                   |
  1683.   |                                                                 |
  1684.   |      REPREPREPREP offsetoffsetoffsetoffset datadatadatadata [comment][comment][comment][comment]                                  |
  1685.   |                                                                 |
  1686.   |      VERVERVERVER offsetoffsetoffsetoffset datadatadatadata [comment][comment][comment][comment]                                  |
  1687.   |                                                                 |
  1688.   |      **** [comment][comment][comment][comment]                                                |
  1689.   |                                                                 |
  1690.   +-----------------------------------------------------------------+
  1691.  
  1692.                ZAP file structure:
  1693.  
  1694.   +-----------------------------------------------------------------+
  1695.   |                                                                 |
  1696.   |      NAMENAMENAMENAME ............   namesnamesnamesnames filefilefilefile totototo bebebebe zappedzappedzappedzapped                         |
  1697.   |      BASEBASEBASEBASE ............   setsetsetset basebasebasebase valuevaluevaluevalue                                  |
  1698.   |      VERVERVERVER  ............   verifyverifyverifyverify existingexistingexistingexisting datadatadatadata                            |
  1699.   |       ....                                                         |
  1700.   |       ....                                                         |
  1701.   |      VERVERVERVER  ............                                                   |
  1702.   |      REPREPREPREP  ............   replacereplacereplacereplace withwithwithwith newnewnewnew datadatadatadata                           |
  1703.   |       ....                                                         |
  1704.   |       ....                                                         |
  1705.   |      REPREPREPREP  ............                                                   |
  1706.   |      ENDENDENDEND       quitquitquitquit thethethethe programprogramprogramprogram                                 |
  1707.   |                                                                 |
  1708.   +-----------------------------------------------------------------+
  1709.  
  1710.  
  1711.  
  1712.  
  1713.  
  1714.   Chapter 3. Reference                                             19
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1722.  
  1723.  
  1724.   APPENDIX________APPENDIXAPPENDIXAPPENDIX_A.__A.A.A._ERROR_____ERRORERRORERROR_MESSAGES________MESSAGESMESSAGESMESSAGES
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.   TYPES_____TYPESTYPESTYPES_OF__OFOFOF_MESSAGES________MESSAGESMESSAGESMESSAGES
  1731.  
  1732.                Error messages  from PC-ZAP start  with a  7 character
  1733.                identifier of the form:
  1734.  
  1735.   +-----------------------------------------------------------------+
  1736.   |                                                                 |
  1737.   |                     ZAPxxxz message..............               |
  1738.   |                                                                 |
  1739.   +-----------------------------------------------------------------+
  1740.  
  1741.  
  1742.                where 'xxx' is a three digit  message number, 'z' is a
  1743.                single character  indicating the  type of  message and
  1744.                'message' is the error message  as described below for
  1745.                each message number.
  1746.  
  1747.                The message type character 'z' can be:
  1748.  
  1749.                    IIII - for informational messages,
  1750.  
  1751.                    WWWW - for warning messages,
  1752.  
  1753.                    EEEE - for error messages, or
  1754.  
  1755.                    AAAA - for action messages.
  1756.  
  1757.                Informational_____________InformationalInformationalInformational messages are just  that; for your infor-
  1758.                mation only. They do not necessarily indicate an error
  1759.                but are issued  as part of normal  processing. Warning_______WarningWarningWarning
  1760.                messages may require your  attention. They indicate an
  1761.                unusual but not necessarily  abnormal condition. Error_____ErrorErrorError
  1762.                messages are definite problems. They indicate that the
  1763.                program could  not complete an  operation succesfully.
  1764.                Action______ActionActionAction messages indicate that  some action is required
  1765.                from you. Either a response must  be typed or a device
  1766.                requires attention.
  1767.  
  1768.  
  1769.  
  1770.   RECOVERING__________RECOVERINGRECOVERINGRECOVERING_FROM____FROMFROMFROM_ERRORS______ERRORSERRORSERRORS
  1771.  
  1772.                Note that some  errors are recoverable. In  this case,
  1773.                PC-ZAP  will prompt  you  with  the following  message
  1774.                after the error message has been displayed:
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780.   Appendix A. ERROR MESSAGES                                       20
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1788.  
  1789.  
  1790.   +-----------------------------------------------------------------+
  1791.   |                                                                 |
  1792.   |               Abort,Abort,Abort,Abort, Retry,Retry,Retry,Retry, Ignore?_Ignore?_Ignore?_Ignore?_                            |
  1793.   |                                                                 |
  1794.   |                                                                 |
  1795.   | Figure 7.  Recovery prompt                                      |
  1796.   +-----------------------------------------------------------------+
  1797.  
  1798.                You may type the letter "A",  "R" or "I" (lowercase is
  1799.                fine) to indicate respectively that:
  1800.  
  1801.                o   PC-ZAP should abort and terminate immediately (A)
  1802.  
  1803.                o   PC-ZAP should retry the  operation that caused the
  1804.                    error (R)
  1805.  
  1806.                o   PC-ZAP should ignore the operation that caused the
  1807.                    error and continue (I)
  1808.  
  1809.                Ignoring an operation is hazardous as PC-ZAP will con-
  1810.                tinue as if the operation  causing the error completed
  1811.                normally. Retrying is always safe unless the condition
  1812.                causing the error is not  corrected, in which case you
  1813.                will  get the  same error  message  and prompt  again.
  1814.                Abort is  normally used  when you  cannot correct  the
  1815.                error (such as trying to print on a non-existent prin-
  1816.                ter.)
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829.  
  1830.  
  1831.  
  1832.  
  1833.  
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845.  
  1846.   Appendix A. ERROR MESSAGES                                       21
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1854.  
  1855.  
  1856.   EXPLANATION___________EXPLANATIONEXPLANATIONEXPLANATION_OF__OFOFOF_ERROR_____ERRORERRORERROR_MESSAGES________MESSAGESMESSAGESMESSAGES
  1857.  
  1858.                ZAP000IZAP000IZAP000IZAP000I   PC-ZAPPC-ZAPPC-ZAPPC-ZAP ENDEDENDEDENDEDENDED ---- RETURNRETURNRETURNRETURN CODECODECODECODE xxxxxxxx
  1859.  
  1860.                          Explanation___________:  This is  an informational mes-
  1861.                          sage which PC-ZAP issues at  the end of each
  1862.                          run.  The return code indicates the severity
  1863.                          of the highest error encountered.
  1864.  
  1865.  
  1866.   +-----------------------------------------------------------------+
  1867.   |                                                                 |
  1868.   |    RETURNRETURNRETURNRETURN                                                       |
  1869.   |     CODECODECODECODE                                                        |
  1870.   |       0000  SuccesfullSuccesfullSuccesfullSuccesfull completion.completion.completion.completion. NoNoNoNo errors.errors.errors.errors.                      |
  1871.   |       8888  AAAA VERVERVERVER statementstatementstatementstatement failed.failed.failed.failed. TheTheTheThe NOGONOGONOGONOGO switchswitchswitchswitch waswaswaswas set.set.set.set.       |
  1872.   |      12121212  OneOneOneOne orororor moremoremoremore commandscommandscommandscommands interruptedinterruptedinterruptedinterrupted (Ctrl-Break(Ctrl-Break(Ctrl-Break(Ctrl-Break key).key).key).key).     |
  1873.   |      16161616  SevereSevereSevereSevere error.error.error.error.                                          |
  1874.   |                                                                 |
  1875.   |                                                                 |
  1876.   | Figure 8.  PC-ZAP Return Codes                                  |
  1877.   +-----------------------------------------------------------------+
  1878.  
  1879.                          System_______Action______:PC-ZAP  terminates after  dis-
  1880.                          play of this message.
  1881.  
  1882.                          User_____Response________:  None
  1883.  
  1884.  
  1885.  
  1886.                ZAP024EZAP024EZAP024EZAP024E   DEVICEDEVICEDEVICEDEVICE TIMEOUTTIMEOUTTIMEOUTTIMEOUT
  1887.  
  1888.                          Explanation___________:  Your  printer did  not respond
  1889.                          during a print request.
  1890.  
  1891.                          System_______Action______:   PC-ZAP will  prompt you  to
  1892.                          "Abort, Retry or Ignore ?"
  1893.  
  1894.                          User______Response________:   Check  the  printer,  then
  1895.                          respond  "R"   to  the  "Abort,   Retry,  or
  1896.                          Ignore?"  prompt  displayed  following  this
  1897.                          message; or  respond "A"  to abort  this run
  1898.                          and reissue  the PC-ZAP command.  If  you do
  1899.                          not  wish printer  output, route  it to  the
  1900.                          screen.  See "PC-ZAP Command" on page 6  for
  1901.                          details.
  1902.  
  1903.  
  1904.  
  1905.                ZAP025EZAP025EZAP025EZAP025E   DEVICEDEVICEDEVICEDEVICE FAULTFAULTFAULTFAULT
  1906.  
  1907.                          Explanation___________:   A  device (most  likely  your
  1908.                          printer) indicated it had a problem (such as
  1909.                          a paper jam).
  1910.  
  1911.  
  1912.   Appendix A. ERROR MESSAGES                                       22
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1920.  
  1921.  
  1922.                          System_______Action______:   PC-ZAP will  prompt you  to
  1923.                          "Abort, Retry or Ignore ?"
  1924.  
  1925.                          User______Response________:   Check  the  printer,  then
  1926.                          respond  "R"   to  the  "Abort,   Retry,  or
  1927.                          Ignore?"  prompt  displayed  following  this
  1928.                          message; or  respond "A"  to abort  this run
  1929.                          and reissue  the PC-ZAP command.  If  you do
  1930.                          not  wish printer  output, route  it to  the
  1931.                          screen.  See "PC-ZAP Command" on page 6  for
  1932.                          details.
  1933.  
  1934.  
  1935.  
  1936.                ZAP027EZAP027EZAP027EZAP027E   OUTOUTOUTOUT OFOFOFOF PAPERPAPERPAPERPAPER
  1937.  
  1938.                          Explanation___________:  Self-explanatory.
  1939.  
  1940.                          System_______Action______:   PC-ZAP will  prompt you  to
  1941.                          "Abort, Retry or Ignore ?"
  1942.  
  1943.                          User______Response________:   Check  the  printer,  then
  1944.                          respond  "R"   to  the  "Abort,   Retry,  or
  1945.                          Ignore?"  prompt  displayed  following  this
  1946.                          message; or  respond "A"  to abort  this run
  1947.                          and reissue  the PC-ZAP command.  If  you do
  1948.                          not  wish printer  output, route  it to  the
  1949.                          screen.  See "PC-ZAP Command" on page 6  for
  1950.                          details.
  1951.  
  1952.  
  1953.  
  1954.                ZAP052EZAP052EZAP052EZAP052E   BADBADBADBAD FILEFILEFILEFILE NUMBER:NUMBER:NUMBER:NUMBER: filenamefilenamefilenamefilename
  1955.  
  1956.                          Explanation___________:  The file name you specified on
  1957.                          the PC-ZAP  command or on  the NAME  or DUMP
  1958.                          command is  invalid (contains  a comma,  for
  1959.                          example).
  1960.  
  1961.                          System_______Action______:   The command is  ignored and
  1962.                          the NOGO switch is set.
  1963.  
  1964.                          User_____Response________:   Check the  spelling of  the
  1965.                          file name  as displayed in this  message and
  1966.                          reissue the command with the correct name.
  1967.  
  1968.  
  1969.  
  1970.                ZAP053EZAP053EZAP053EZAP053E   FILEFILEFILEFILE NOTNOTNOTNOT FOUND:FOUND:FOUND:FOUND: filenamefilenamefilenamefilename
  1971.  
  1972.                          Explanation___________:  The file you  specified on the
  1973.                          PC-ZAP command or  on the NAME or  DUMP com-
  1974.                          mand was  not found  on the  specified drive
  1975.  
  1976.  
  1977.  
  1978.   Appendix A. ERROR MESSAGES                                       23
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  1986.  
  1987.  
  1988.                          (or default drive if  no drive was specified
  1989.                          in the  file name. Note  that under  DOS 2.0
  1990.                          only the current directory for each drive is
  1991.                          accessible   (this  is   a  BASIC   compiler
  1992.                          restriction).
  1993.  
  1994.                          System_______Action______:   The command is  ignored and
  1995.                          the NOGO switch is set.
  1996.  
  1997.                          User_____Response________:   Verify the spelling  of the
  1998.                          file name  and check  that the  file exists;
  1999.                          then reissue  the command  with the  correct
  2000.                          file name.
  2001.  
  2002.  
  2003.  
  2004.                ZAP057EZAP057EZAP057EZAP057E   DEVICEDEVICEDEVICEDEVICE I/OI/OI/OI/O ERRORERRORERRORERROR
  2005.  
  2006.                          Explanation___________:   A  device (most  likely  your
  2007.                          printer) has  a problem (it was  powered off
  2008.                          in the middle of printing, for example).
  2009.  
  2010.                          System_______Action______:   PC-ZAP will  prompt you  to
  2011.                          "Abort, Retry or Ignore ?"
  2012.  
  2013.                          User______Response________:   Check  the  printer,  then
  2014.                          respond  "R"   to  the  "Abort,   Retry,  or
  2015.                          Ignore?"  prompt  displayed  following  this
  2016.                          message; or  respond "A"  to abort  this run
  2017.                          and reissue  the PC-ZAP command.  If  you do
  2018.                          not  wish printer  output, route  it to  the
  2019.                          screen.  See "PC-ZAP Command" on page 6  for
  2020.                          details.
  2021.  
  2022.  
  2023.  
  2024.                ZAP058EZAP058EZAP058EZAP058E   FILEFILEFILEFILE ALREADYALREADYALREADYALREADY EXISTS:EXISTS:EXISTS:EXISTS: filefilefilefile namenamenamename
  2025.  
  2026.                          Explanation___________:  This message should not occur.
  2027.  
  2028.                          System_______Action______:   The command is  ignored and
  2029.                          the NOGO switch is set.
  2030.  
  2031.                          User_____Response________:  Contact Pelt Industries.
  2032.  
  2033.  
  2034.  
  2035.                ZAP061EZAP061EZAP061EZAP061E   DISKDISKDISKDISK FULLFULLFULLFULL
  2036.  
  2037.                          Explanation___________:  PC-ZAP could not write another
  2038.                          line  to the  run listing  file because  the
  2039.                          disk on  which it resides  has no  more free
  2040.                          space.
  2041.  
  2042.  
  2043.  
  2044.   Appendix A. ERROR MESSAGES                                       24
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2052.  
  2053.  
  2054.                          System_______Action______:   PC-ZAP will  prompt you  to
  2055.                          "Abort, Retry or Ignore ?"
  2056.  
  2057.                          User_____Response________:  Reply "A"  to abort the cur-
  2058.                          rent run  and either  delete files  from the
  2059.                          full disk is route the run listing to anoth-
  2060.                          er drive or disk.
  2061.  
  2062.  
  2063.  
  2064.                ZAP064EZAP064EZAP064EZAP064E   BADBADBADBAD FILEFILEFILEFILE NAME:NAME:NAME:NAME: filefilefilefile namenamenamename
  2065.  
  2066.                          Explanation___________:  The file name you specified on
  2067.                          the PC-ZAP  command or on  the NAME  or DUMP
  2068.                          command is  invalid (contains  a comma,  for
  2069.                          example).
  2070.  
  2071.                          System_______Action______:   The command is  aborted and
  2072.                          the NOGO switch is set.
  2073.  
  2074.                          User_____Response________:   Check the  spelling of  the
  2075.                          file name  as displayed in this  message and
  2076.                          reissue the command with the correct name.
  2077.  
  2078.  
  2079.  
  2080.                ZAP068EZAP068EZAP068EZAP068E   DEVICEDEVICEDEVICEDEVICE UNAVAILABLEUNAVAILABLEUNAVAILABLEUNAVAILABLE
  2081.  
  2082.                          Explanation___________:  You attempted to  use a device
  2083.                          which does not exist on yoyr system (such as
  2084.                          LPT1: when you have no  printer, or drive C:
  2085.                          when you have no C drive)
  2086.  
  2087.                          System_______Action______:   PC-ZAP ignores  the command
  2088.                          and sets the NOGO switch.
  2089.  
  2090.                          User_____Response________:   Check the  spelling of  the
  2091.                          command which caused this  error. If you are
  2092.                          sure  that the  specified  device exists  on
  2093.                          your system,  reboot your  system and  retry
  2094.                          the command.
  2095.  
  2096.  
  2097.  
  2098.                ZAP070EZAP070EZAP070EZAP070E   DISKDISKDISKDISK WRITEWRITEWRITEWRITE PROTECTEDPROTECTEDPROTECTEDPROTECTED
  2099.  
  2100.                          Explanation___________:  You attempted to  write onto a
  2101.                          disk   which    is   write-protected    (the
  2102.                          read/write  notch on  the  diskette is  cov-
  2103.                          ered.)
  2104.  
  2105.                          System_______Action______:   PC-ZAP will  prompt you  to
  2106.                          "Abort, Retry, or Ignore?"
  2107.  
  2108.  
  2109.  
  2110.   Appendix A. ERROR MESSAGES                                       25
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2118.  
  2119.  
  2120.                          User_____Response________:  If you do  not___notnotnot want to write
  2121.                          onto the  diskette, reply  "A" to  abort the
  2122.                          run.  If you do__dododo wish to write onto the disk-
  2123.                          ette, remove it from the drive, peel off the
  2124.                          write-protect tab;  then put the  same____samesamesame disk-
  2125.                          kette back into the drive. Then reply "R" to
  2126.                          the prompt, to retry  the operation.  Do NOT___NOTNOTNOT
  2127.                          replace  the diskette  with  another one  as
  2128.                          this is  sure to clobber the  information on
  2129.                          it.
  2130.  
  2131.  
  2132.  
  2133.                ZAP071EZAP071EZAP071EZAP071E   DISKDISKDISKDISK NOTNOTNOTNOT READYREADYREADYREADY
  2134.  
  2135.                          Explanation___________:  An  attempt to  read or  write
  2136.                          from a  disk drive failed because  the drive
  2137.                          is  not ready  (most  likely  caused by  the
  2138.                          drive door being open or  no diskette in the
  2139.                          drive).
  2140.  
  2141.                          System_______Action______:   PC-ZAP will  prompt you  to
  2142.                          "Abort, Retry, or Ignore?"
  2143.  
  2144.                          User_____Response________:  Make sure that the drive has
  2145.                          a diskette in it and  that the drive door is
  2146.                          closed. Reply "R" to  retry the operation or
  2147.                          "A" to abort the run.
  2148.  
  2149.  
  2150.  
  2151.                ZAP072EZAP072EZAP072EZAP072E   DISKDISKDISKDISK MEDIAMEDIAMEDIAMEDIA ERRORERRORERRORERROR
  2152.  
  2153.                          Explanation___________:  An  attempt to  read or  write
  2154.                          from a disk failed due to a problem with the
  2155.                          diskette (may be worn out).
  2156.  
  2157.                          System_______Action______:   PC-ZAP will  prompt you  to
  2158.                          "Abort, Retry, or Ignore?"
  2159.  
  2160.                          User_____Response________:  Remove the diskkete from the
  2161.                          drive and  check that  it is  not warped  or
  2162.                          damaged. Reseat the diskette  into the drive
  2163.                          and  reply "R"  to retry  the operation.  If
  2164.                          repeated retries fail to eliminate the prob-
  2165.                          lem, reply  "A" to abort  the run.  Copy the
  2166.                          diskette to another one and retry the entire
  2167.                          PC-ZAP run.
  2168.  
  2169.  
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.  
  2176.   Appendix A. ERROR MESSAGES                                       26
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2184.  
  2185.  
  2186.                ZAP076EZAP076EZAP076EZAP076E   PATHPATHPATHPATH NOTNOTNOTNOT FOUND:FOUND:FOUND:FOUND: pathnamepathnamepathnamepathname
  2187.  
  2188.                          Explanation___________:  Should not occur.
  2189.  
  2190.                          System_______Action______:  PC-ZAP terminates after dis-
  2191.                          play of this message.
  2192.  
  2193.                          User_____Response________:  Contact Pelt Industries.
  2194.  
  2195.  
  2196.  
  2197.                ZAP091EZAP091EZAP091EZAP091E   NOGONOGONOGONOGO SWITCHSWITCHSWITCHSWITCH ISISISIS SETSETSETSET
  2198.  
  2199.                          Explanation___________:   A  REP command  was  rejected
  2200.                          because a  previous VER command  failed (see
  2201.                          message ZAP093E).  The NOGO switch  is reset
  2202.                          by the next DUMP or  NAME command. This mes-
  2203.                          sage indicates that the  REP command was not
  2204.                          processed.
  2205.  
  2206.                          System_______Action______:  PC-ZAP ignores  the REP com-
  2207.                          mand.
  2208.  
  2209.                          User______Response________:   Check for  error  messages
  2210.                          prior to this  one to find the  cause of the
  2211.                          NOGO switch being set.
  2212.  
  2213.  
  2214.  
  2215.                ZAP092IZAP092IZAP092IZAP092I   OLDOLDOLDOLD DATADATADATADATA WASWASWASWAS xxxxxxxx
  2216.  
  2217.                          Explanation___________:  A REP command was successfully
  2218.                          processed,  the old  data  at the  specified
  2219.                          changed locations is displayed  in this mes-
  2220.                          sage.
  2221.  
  2222.                          System________Action______:  PC-ZAP  continues with  the
  2223.                          next command.
  2224.  
  2225.                          User_____Response________:  None
  2226.  
  2227.  
  2228.  
  2229.                ZAP093EZAP093EZAP093EZAP093E   VERIFICATIONVERIFICATIONVERIFICATIONVERIFICATION FAILEDFAILEDFAILEDFAILED
  2230.  
  2231.                          Explanation___________:  A  VER command  failed because
  2232.                          the file to  be zapped does not  contain the
  2233.                          specified data at the specified offset.
  2234.  
  2235.                          System_______Action______:   The NOGO switch is  set and
  2236.                          all subsequent  REP commands (upto  the next
  2237.                          DUMP  or  NAME command)  are  rejected  with
  2238.                          error message ZAP091E (see above).
  2239.  
  2240.  
  2241.  
  2242.   Appendix A. ERROR MESSAGES                                       27
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2250.  
  2251.  
  2252.                          User______Response________:  This  error indicates  that
  2253.                          the zap you are trying  to apply is not cor-
  2254.                          rect.   Use the  DUMP command  to check  the
  2255.                          actual contents of the file to be zapped and
  2256.                          change the VER command which failed.
  2257.  
  2258.  
  2259.  
  2260.                ZAP094EZAP094EZAP094EZAP094E   ODDODDODDODD NUMBERNUMBERNUMBERNUMBER OFOFOFOF HEXHEXHEXHEX DIGITSDIGITSDIGITSDIGITS ININININ DATADATADATADATA
  2261.  
  2262.                          Explanation___________:  The  data operand of a  VER or
  2263.                          REP command  did not contain an  even number
  2264.                          of hexadecimal digits.
  2265.  
  2266.                          System_______Action______:  PC-ZAP  ignores the command.
  2267.                          The NOGO switch is set.
  2268.  
  2269.                          User_____Response________:  Check the command for typing
  2270.                          errors; add  a leading zero if  necessary to
  2271.                          ensure an  even number  of digits.   Reissue
  2272.                          the  last NAME  command (to  reset the  NOGO
  2273.                          switch) and the correct VER or REP command.
  2274.  
  2275.  
  2276.  
  2277.                ZAP095EZAP095EZAP095EZAP095E   INVALIDINVALIDINVALIDINVALID OROROROR MISSINGMISSINGMISSINGMISSING HEXHEXHEXHEX DATADATADATADATA
  2278.  
  2279.                          Explanation___________:  The  data operand of a  VER or
  2280.                          REP command  was not specified  or contained
  2281.                          characters other than  hexadecimal digits (0
  2282.                          through 9 or A through F).
  2283.  
  2284.                          System_______Action______:  PC-ZAP  ignores the command.
  2285.                          The NOGO switch is set.
  2286.  
  2287.                          User_____Response________:  Check the command for typing
  2288.                          errors; add  a leading zero if  necessary to
  2289.                          ensure an  even number  of digits.   Reissue
  2290.                          the  last NAME  command (to  reset the  NOGO
  2291.                          switch) and the correct VER or REP command.
  2292.  
  2293.  
  2294.  
  2295.                ZAP096EZAP096EZAP096EZAP096E   OFFSETOFFSETOFFSETOFFSET TOOTOOTOOTOO LARGELARGELARGELARGE ---- FILEFILEFILEFILE SIZESIZESIZESIZE ISISISIS ONLYONLYONLYONLY xxxxxxxxxxxxxxxxxxxx
  2296.  
  2297.                          Explanation___________:  The offset operand  of a BASE,
  2298.                          VER or  REP command  was too  large for  the
  2299.                          size of the file being zapped. This normally
  2300.                          indicates the zap you are trying to apply is
  2301.                          incorrect. Keep in mind that for VER and REP
  2302.                          commands the  actual offset used is  the sum
  2303.                          of any base value (if  specified by a previ-
  2304.                          ous BASE  command) and the  offset specified
  2305.                          on the VER or REP command.
  2306.  
  2307.  
  2308.   Appendix A. ERROR MESSAGES                                       28
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2316.  
  2317.  
  2318.                          System_______Action______:  PC-ZAP  ignores the command.
  2319.                          The NOGO switch is set.
  2320.  
  2321.                          User_____Response________:  Check the command for typing
  2322.                          errors; Reissue  the last  NAME command  (to
  2323.                          reset the NOGO switch) and the correct BASE,
  2324.                          VER or REP command.
  2325.  
  2326.  
  2327.  
  2328.                ZAP097EZAP097EZAP097EZAP097E   INVALIDINVALIDINVALIDINVALID OROROROR MISSINGMISSINGMISSINGMISSING OFFSETOFFSETOFFSETOFFSET VALUEVALUEVALUEVALUE
  2329.  
  2330.                          Explanation___________:  The offset operand  of a BASE,
  2331.                          VER or REP command was not specified or con-
  2332.                          tained  characters  other  than  hexadecimal
  2333.                          digits (0 through 9 or A through F).
  2334.  
  2335.                          System_______Action______:  PC-ZAP  ignores the command.
  2336.                          The NOGO switch is set.
  2337.  
  2338.                          User_____Response________:  Check the command for typing
  2339.                          errors; then  reissue the last  NAME command
  2340.                          (to reset  the NOGO switch) and  the correct
  2341.                          BASE, VER or REP command.
  2342.  
  2343.  
  2344.  
  2345.                ZAP098IZAP098IZAP098IZAP098I   COMMANDCOMMANDCOMMANDCOMMAND INTERRUPTEDINTERRUPTEDINTERRUPTEDINTERRUPTED BYBYBYBY BREAKBREAKBREAKBREAK KEYKEYKEYKEY
  2346.  
  2347.                          Explanation___________:  You pressed the Ctrl-Break key
  2348.                          during the execution of  a command. In batch
  2349.                          mode.
  2350.  
  2351.                          System_______Action______:   In batch mode,  PC-ZAP will
  2352.                          terminate and not process any remaining com-
  2353.                          mands in the zap file.  In interactive mode,
  2354.                          the user is returned to the "ZAP>" prompt.
  2355.  
  2356.                          User_____Response________:  In interactive mode, You may
  2357.                          enter the "END" command  in the to terminate
  2358.                          PC-ZAP.
  2359.  
  2360.  
  2361.  
  2362.                ZAP099IZAP099IZAP099IZAP099I   COMMANDCOMMANDCOMMANDCOMMAND ABORTEDABORTEDABORTEDABORTED
  2363.  
  2364.                          Explanation___________:   A command  was not  completed
  2365.                          due to  an error.  This message  is informa-
  2366.                          tional  only.  A  preceeding  error  message
  2367.                          indicates the cause of the error.
  2368.  
  2369.                          System_______Action______:   The command is  ignored. If
  2370.                          the error was severe, PC-ZAP will terminate.
  2371.  
  2372.  
  2373.  
  2374.   Appendix A. ERROR MESSAGES                                       29
  2375.  
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2382.  
  2383.  
  2384.                          User_____Response________:  Check  previous messages for
  2385.                          the reason why the command was aborted.
  2386.  
  2387.  
  2388.  
  2389.                ZAP100EZAP100EZAP100EZAP100E   INVALIDINVALIDINVALIDINVALID COMMANDCOMMANDCOMMANDCOMMAND OROROROR COMMANDCOMMANDCOMMANDCOMMAND OUTOUTOUTOUT OFOFOFOF SEQUENCESEQUENCESEQUENCESEQUENCE
  2390.  
  2391.                          Explanation___________:  You entered  an unrecognizable
  2392.                          command (not  BASE, VER, REP, NAME,  DUMP or
  2393.                          END) or a command was issued out of sequence
  2394.                          (for example a VER or  REP command without a
  2395.                          preceeding NAME command.) Note that VER, REP
  2396.                          and BASE  commands must either  be preceeded
  2397.                          by a NAME  command, or you must  have speci-
  2398.                          fied a file name to  be zapped on the PC-ZAP
  2399.                          command (second operand).
  2400.  
  2401.                          System_______Action______:  PC-ZAP  ignores the command.
  2402.                          The NOGO switch is set.
  2403.  
  2404.                          User_____Response________:  Check "Chapter 3. Reference"
  2405.                          on page 12 for details.
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422.  
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.  
  2431.  
  2432.  
  2433.  
  2434.  
  2435.  
  2436.  
  2437.  
  2438.  
  2439.  
  2440.   Appendix A. ERROR MESSAGES                                       30
  2441.  
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2448.  
  2449.  
  2450.   APPENDIX________APPENDIXAPPENDIXAPPENDIX_B.__B.B.B._SAMPLE______SAMPLESAMPLESAMPLE_ZAP___ZAPZAPZAP_FILES_____FILESFILESFILES
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.   DISCLAIMER__________DISCLAIMERDISCLAIMERDISCLAIMER
  2457.  
  2458.                The zaps listed in this  appendix are examples only of
  2459.                the type of changes that can be made to existing soft-
  2460.                ware packages to increase their usefulness and enhance
  2461.                their performance.   Some of  the zaps  will change  a
  2462.                program  to bypass  checks for  copy protection.   The
  2463.                inclusion of such zaps is in no way meant to encourage
  2464.                or condone  the practice of software  piracy.  Legiti-
  2465.                mate owners of software packages  however have a great
  2466.                need (and right)  to be able to  copy legally obtained
  2467.                software to other media such  as hard disks and backup
  2468.                floppies, subject  to any  U.S.  or  foreign copyright
  2469.                laws or  licensing agreement  the user  has or  should
  2470.                have with the owner of copyright.
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.  
  2489.  
  2490.  
  2491.  
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.   Appendix B. SAMPLE ZAP FILES                                     31
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2514.  
  2515.  
  2516.   123.ZAP_______123.ZAP123.ZAP123.ZAP_-_---_UNPROTECT_________UNPROTECTUNPROTECTUNPROTECT_LOTUS_____LOTUSLOTUSLOTUS_123___123123123
  2517.  
  2518.  
  2519.                The file 123.ZAP contains a ZAP to modify Lotus 123 to
  2520.                bypass checking  for copy  protection. After  applying
  2521.                this ZAP,  the module 123.EXE  will run from  any disk
  2522.                type even after  being copied (with the  DOS COPY com-
  2523.                mand for example.)
  2524.  
  2525.     ************************************************************************
  2526.     *                                                         October 1983 *
  2527.     *   FILE NAME - 123.ZAP                                                *
  2528.     *                                                                      *
  2529.     *   FUNCTION -  CHANGE LOTUS 123.EXE TO BYPASS COPY PROTECTION CHECK   *
  2530.     *                                                                      *
  2531.     *   INSTRUCTIONS -                                                     *
  2532.     *                                                                      *
  2533.     *               1. COPY 123.EXE TO A NEW DISK                          *
  2534.     *                                                                      *
  2535.     *               2. PUT ON THIS ZAP BY ISSUING COMMAND:                 *
  2536.     *                                                                      *
  2537.     *                     PC-ZAP 123.ZAP 123.EXE;                          *
  2538.     *                                                                      *
  2539.     *                  WHERE 123.EXE IS THE NAME OF THE FILE TO BE ZAPPED  *
  2540.     *                  AND 123.ZAP IS THE NAME OF THE FILE YOU ARE READING *
  2541.     *                                                                      *
  2542.     *               3. THE ZAPPED 123.EXE CAN BE COPIED AT WILL HENCEFORTH *
  2543.     *                                                                      *
  2544.     *   AUTHOR   -  MARK PELT                                              *
  2545.     *                                                                      *
  2546.     *   NOTES    -  THE PC-ZAP PROGRAM CAN BE OBTAINED BY SENDING A BLANK  *
  2547.     *               FLOPPY DISK OR $20 TO THE FOLLOWING ADDRESS. SPECIFY   *
  2548.     *               DOS VERSION, AND DISKETTE FORMAT (8 OR 9 SECTOR,       *
  2549.     *               SINGLE OR DOUBLE SIDED).                               *
  2550.     *                                                                      *
  2551.     *               PELT INDUSTRIES                                        *
  2552.     *               121 BUCKINGHAM DRIVE, #55                              *
  2553.     *               SANTA CLARA, CA  95050                                 *
  2554.     *                                                                      *
  2555.     *                                                                      *
  2556.     *   (C) COPYRIGHT 1983 PELT INDUSTRIES. ALL RIGHTS RESERVED.           *
  2557.     *                                                                      *
  2558.     ************************************************************************
  2559.      BASE 100                        SKIP .EXE HEADER
  2560.      VER A9A9 CD13         INT 13    CALL TO BIOS DISKETTE_I/O ROUTINE
  2561.      REP A9A9 9090         NOP,NOP
  2562.  
  2563.                Applying________ApplyingApplyingApplying_the___thethethe_ZAP___ZAPZAPZAP
  2564.  
  2565.                To apply this  ZAP, simply issue the  following PC-ZAP
  2566.                command from DOS.
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.   Appendix B. SAMPLE ZAP FILES                                     32
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2580.  
  2581.  
  2582.   +-----------------------------------------------------------------+
  2583.   |                                                                 |
  2584.   |          PC-ZAP A:123.ZAP B:123.EXE;                            |
  2585.   |                                                                 |
  2586.   +-----------------------------------------------------------------+
  2587.  
  2588.  
  2589.                In the above example, the file 123.EXE on drive B will
  2590.                be modified.  This is the  Lotus 123  spreadsheet pro-
  2591.                gram. The ZAP  commands are contained in  file 123.ZAP
  2592.                on drive A. Since the command is followed by a semico-
  2593.                lon, no  prompting for the  third operand  (not speci-
  2594.                fied) will  be made. The output  from the run  will by
  2595.                default be displayed on the screen.
  2596.  
  2597.  
  2598.  
  2599.  
  2600.  
  2601.  
  2602.  
  2603.  
  2604.  
  2605.  
  2606.  
  2607.  
  2608.  
  2609.  
  2610.  
  2611.  
  2612.  
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.   Appendix B. SAMPLE ZAP FILES                                     33
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2646.  
  2647.  
  2648.   EW.ZAP______EW.ZAPEW.ZAPEW.ZAP_-_---_UNPROTECT_________UNPROTECTUNPROTECTUNPROTECT_EASYWRITER__________EASYWRITEREASYWRITEREASYWRITER
  2649.  
  2650.  
  2651.                The file EW.ZAP contains a ZAP to modify Easywriter to
  2652.                bypass checking  for copy protection.   After applying
  2653.                this ZAP,  the module IBM88VMI.COM  will run  from any
  2654.                disk type even  after being copied (with  the DOS COPY
  2655.                command for example.)
  2656.  
  2657.  
  2658.     ************************************************************************
  2659.     *                                                        November 1983 *
  2660.     *   FILE NAME - EW.ZAP                                                 *
  2661.     *                                                                      *
  2662.     *   FUNCTION -  CHANGE EASY/WRITER VERSION 1.1 TO BYPASSS COPY         *
  2663.     *               PROTECTION CHECKING                                    *
  2664.     *                                                                      *
  2665.     *   INSTRUCTIONS -                                                     *
  2666.     *                                                                      *
  2667.     *               1. COPY FILE IBM88VMI.COM TO A NEW DISK                *
  2668.     *                                                                      *
  2669.     *               2. PUT ON THIS ZAP BY ISSUING COMMAND:                 *
  2670.     *                                                                      *
  2671.     *                     PC-ZAP EW.ZAP IBM88VMI.COM;                      *
  2672.     *                                                                      *
  2673.     *                  WHERE IBM88VMI.COM IS THE NAME OF THE FILE TO BE    *
  2674.     *                  ZAPPED AND EW.ZAP IS THE NAME OF THE FILE YOU ARE   *
  2675.     *                  CURRENTLY READING                                   *
  2676.     *                                                                      *
  2677.     *               3. THE ZAPPED EASY/WRITER MAY BE COPIED AT WILL        *
  2678.     *                                                                      *
  2679.     *   AUTHOR   -  MARK PELT                                              *
  2680.     *                                                                      *
  2681.     *   NOTES    -  THE PC-ZAP PROGRAM CAN BE OBTAINED BY SENDING A BLANK  *
  2682.     *               FLOPPY DISK OR $20 TO THE FOLLOWING ADDRESS. SPECIFY   *
  2683.     *               DOS VERSION, AND DISKETTE FORMAT (8 OR 9 SECTOR,       *
  2684.     *               SINGLE OR DOUBLE SIDED).                               *
  2685.     *                                                                      *
  2686.     *               PELT INDUSTRIES                                        *
  2687.     *               121 BUCKINGHAM DRIVE, #55                              *
  2688.     *               SANTA CLARA, CA  95050                                 *
  2689.     *                                                                      *
  2690.     *                                                                      *
  2691.     *   (C) COPYRIGHT 1983 PELT INDUSTRIES. ALL RIGHTS RESERVED.           *
  2692.     *                                                                      *
  2693.     ************************************************************************
  2694.      VER 0185 CD20         INT 20    CALL TO DOS
  2695.      REP 0185 9090         NOP,NOP
  2696.  
  2697.  
  2698.                Applying________ApplyingApplyingApplying_the___thethethe_ZAP___ZAPZAPZAP
  2699.  
  2700.                To apply this  ZAP, simply issue the  following PC-ZAP
  2701.                command from DOS.
  2702.  
  2703.  
  2704.   Appendix B. SAMPLE ZAP FILES                                     34
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2712.  
  2713.  
  2714.  
  2715.  
  2716.   +-----------------------------------------------------------------+
  2717.   |                                                                 |
  2718.   |          PC-ZAP EW.ZAP IBM88VMI.COM;                            |
  2719.   |                                                                 |
  2720.   +-----------------------------------------------------------------+
  2721.  
  2722.  
  2723.                In the  above example,  the file  IBM88VMI.COM on  the
  2724.                default drive  will be modified.   This is  the module
  2725.                invoked by  the EasyWriter program  during initializa-
  2726.                tion.  The ZAP  commands are contained in  file EW.ZAP
  2727.                on  the default  drive.  Since  the  third operand  is
  2728.                omitted, the output from the  run will be displayed on
  2729.                the screen.
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.   Appendix B. SAMPLE ZAP FILES                                     35
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2778.  
  2779.  
  2780.   FORMATV.ZAP___________FORMATV.ZAPFORMATV.ZAPFORMATV.ZAP_-_---_MAKE____MAKEMAKEMAKE_/V__/V/V/V_DEFAULT_______DEFAULTDEFAULTDEFAULT_FOR___FORFORFOR_FORMAT.COM__________FORMAT.COMFORMAT.COMFORMAT.COM
  2781.  
  2782.  
  2783.                The file FORMATV.ZAP contains a  ZAP to modify the DOS
  2784.                FORMAT command  to always prompt  for a  volume label.
  2785.                After applying this ZAP, the module FORMAT.COM will no
  2786.                longer require that you enter the /V operand.
  2787.  
  2788.  
  2789.     ************************************************************************
  2790.     *                                                         January 1984 *
  2791.     *   FILE NAME - FORMATV.ZAP                                            *
  2792.     *                                                                      *
  2793.     *   FUNCTION -  CHANGE DOS 2.0 FORMAT COMMAND TO USE /V AS DEFAULT.    *
  2794.     *               THE /V OPTION WILL PROMPT FOR A VOLUME LABEL.          *
  2795.     *                                                                      *
  2796.     *   INSTRUCTIONS -                                                     *
  2797.     *                                                                      *
  2798.     *               1. COPY FORMAT.COM TO A NEW DISK                       *
  2799.     *                                                                      *
  2800.     *               2. PUT ON THIS ZAP BY ISSUING COMMAND:                 *
  2801.     *                                                                      *
  2802.     *                     PC-ZAP FORMATV.ZAP FORMAT.COM;                   *
  2803.     *                                                                      *
  2804.     *                  WHERE FORMAT.COM IS THE NAME OF THE FILE TO BE      *
  2805.     *                  ZAPPED AND FORMATV.ZAP IS THE NAME OF THE FILE YOU  *
  2806.     *                  ARE NOW READING                                     *
  2807.     *                                                                      *
  2808.     *               3. THE ZAPPED FORMAT.COM WILL NOW ALWAYS PROMPT FOR A  *
  2809.     *                  VOLUME LABEL.                                       *
  2810.     *                                                                      *
  2811.     *   AUTHOR   -  MARK PELT                                              *
  2812.     *                                                                      *
  2813.     *   NOTES    -  THE PC-ZAP PROGRAM CAN BE OBTAINED BY SENDING A BLANK  *
  2814.     *               FLOPPY DISK OR $20 TO THE FOLLOWING ADDRESS. SPECIFY   *
  2815.     *               DOS VERSION, AND DISKETTE FORMAT (8 OR 9 SECTOR,       *
  2816.     *               SINGLE OR DOUBLE SIDED).                               *
  2817.     *                                                                      *
  2818.     *               PELT INDUSTRIES                                        *
  2819.     *               121 BUCKINGHAM DRIVE, SUITE 55                         *
  2820.     *               SANTA CLARA, CA  95050                                 *
  2821.     *                                                                      *
  2822.     *                                                                      *
  2823.     *   (C) COPYRIGHT 1984 MARKUS PELT. ALL RIGHTS RESERVED.               *
  2824.     *                                                                      *
  2825.     ************************************************************************
  2826.      VER 07C7 74F0     JZ     7B9    SKIP LABEL PROCESSING
  2827.      REP 07C7 75F0     JNZ    7B9    DON'T SKIP
  2828.  
  2829.  
  2830.                Applying________ApplyingApplyingApplying_the___thethethe_ZAP___ZAPZAPZAP
  2831.  
  2832.                To apply this  ZAP, simply issue the  following PC-ZAP
  2833.                command from DOS.
  2834.  
  2835.  
  2836.   Appendix B. SAMPLE ZAP FILES                                     36
  2837.  
  2838.  
  2839.  
  2840.  
  2841.  
  2842.  
  2843.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2844.  
  2845.  
  2846.  
  2847.  
  2848.   +-----------------------------------------------------------------+
  2849.   |                                                                 |
  2850.   |          PC-ZAP A:FORMATV.ZAP B:FORMAT.COM;                     |
  2851.   |                                                                 |
  2852.   +-----------------------------------------------------------------+
  2853.  
  2854.  
  2855.                In the above  example, the file FORMAT.COM  on drive B
  2856.                will be modified.  This is  the DOS command which for-
  2857.                mats floopy disks.  The ZAP commands are  contained in
  2858.                file FORMATV.ZAP on drive A.   Since the third operand
  2859.                is omitted, the output from  the run will be displayed
  2860.                on the screen.
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876.  
  2877.  
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898.  
  2899.  
  2900.  
  2901.  
  2902.   Appendix B. SAMPLE ZAP FILES                                     37
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2910.  
  2911.  
  2912.   GEMGRAPH.ZAP____________GEMGRAPH.ZAPGEMGRAPH.ZAPGEMGRAPH.ZAP_-_---_GRAPHICS.COM____________GRAPHICS.COMGRAPHICS.COMGRAPHICS.COM_FOR___FORFORFOR_GEMINI______GEMINIGEMINIGEMINI_PRINTERS________PRINTERSPRINTERSPRINTERS
  2913.  
  2914.  
  2915.                The file GEMGRAPH.ZAP contains a ZAP to modify the DOS
  2916.                GRAPHICS command  to support  the Star  Gemini printer
  2917.                series.  After  applying this  ZAP, the  module GRAPH-
  2918.                ICS.COM will will be able to dump screen graphics cor-
  2919.                rectly to a Star Gemini printer.
  2920.  
  2921.  
  2922.     ************************************************************************
  2923.     *                                                         October 1983 *
  2924.     *   FILE NAME - GEMGRAPH.ZAP                                           *
  2925.     *                                                                      *
  2926.     *   FUNCTION -  CHANGE DOS GRAPHICS.COM COMMAND FOR STAR MICRONICS     *
  2927.     *               GEMINI 15 PRINTER                                      *
  2928.     *                                                                      *
  2929.     *   INSTRUCTIONS -                                                     *
  2930.     *                                                                      *
  2931.     *               1. COPY GRAPHICS.COM TO A NEW DISK                     *
  2932.     *                                                                      *
  2933.     *               2. PUT ON THIS ZAP BY ISSUING COMMAND:                 *
  2934.     *                                                                      *
  2935.     *                     PC-ZAP GEMGRAPH.ZAP GRAPHICS.COM;                *
  2936.     *                                                                      *
  2937.     *                  WHERE GRAPHICS.COM IS THE NAME OF THE FILE TO BE    *
  2938.     *                  ZAPPED AND GEMGRAPH.ZAP IS THE NAME OF TEH FILE YOU *
  2939.     *                  ARE READING.                                        *
  2940.     *                                                                      *
  2941.     *               3. THE ZAPPED GRAPHICS.COM CAN BE COPIED WITHOUT       *
  2942.     *                  RE-APPLICATION OF THIS ZAP AFTER EACH COPY.         *
  2943.     *                                                                      *
  2944.     *   AUTHOR   -  MARK PELT                                              *
  2945.     *                                                                      *
  2946.     *   NOTES    -  THE PC-ZAP PROGRAM CAN BE OBTAINED BY SENDING A BLANK  *
  2947.     *               FLOPPY DISK OR $20 TO THE FOLLOWING ADDRESS. SPECIFY   *
  2948.     *               DOS VERSION, AND DISKETTE FORMAT (8 OR 9 SECTOR,       *
  2949.     *               SINGLE OR DOUBLE SIDED).                               *
  2950.     *                                                                      *
  2951.     *               PELT INDUSTRIES                                        *
  2952.     *               121 BUCKINGHAM DRIVE, #55                              *
  2953.     *               SANTA CLARA, CA  95050                                 *
  2954.     *                                                                      *
  2955.     *                                                                      *
  2956.     *   (C) COPYRIGHT 1983 PELT INDUSTRIES. ALL RIGHTS RESERVED.           *
  2957.     *                                                                      *
  2958.     ************************************************************************
  2959.      BASE 100                        SKIP .COM HEADER
  2960.      VER 69 18                       LINE FEED LENGTH OF 24/144TH INCH
  2961.      REP 69 08                       SET LINE FEED LENGTH TO 8/144TH INCH
  2962.  
  2963.  
  2964.                Applying________ApplyingApplyingApplying_the___thethethe_ZAP___ZAPZAPZAP
  2965.  
  2966.  
  2967.  
  2968.   Appendix B. SAMPLE ZAP FILES                                     38
  2969.  
  2970.  
  2971.  
  2972.  
  2973.  
  2974.  
  2975.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  2976.  
  2977.  
  2978.                To apply this  ZAP, simply issue the  following PC-ZAP
  2979.                command from DOS.
  2980.  
  2981.  
  2982.   +-----------------------------------------------------------------+
  2983.   |                                                                 |
  2984.   |          PC-ZAP A:GEMGRAPH.ZAP B:GRAPHICS.COM;                  |
  2985.   |                                                                 |
  2986.   +-----------------------------------------------------------------+
  2987.  
  2988.  
  2989.                In the above example, the file GRAPHICS.COM on drive B
  2990.                will  be modified.   This  is  the DOS  command  which
  2991.                allows  the Shift-PrtSC  key  combination  to print  a
  2992.                graphics picture from the screen to yoyr printer.  The
  2993.                ZAP  commands are  contained in  file GEMGRAPH.ZAP  on
  2994.                drive A.  Since the third operand is omitted, the out-
  2995.                put from the run will be displayed on the screen.
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009.  
  3010.  
  3011.  
  3012.  
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.   Appendix B. SAMPLE ZAP FILES                                     39
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  3042.  
  3043.  
  3044.   MS.ZAP______MS.ZAPMS.ZAPMS.ZAP_-_---_UNPROTECT_________UNPROTECTUNPROTECTUNPROTECT_MEMORYSHIFT___________MEMORYSHIFTMEMORYSHIFTMEMORYSHIFT
  3045.  
  3046.  
  3047.                The file MS.ZAP  contains a ZAP to  modify MemoryShift
  3048.                to bypass checking for copy protection. After applying
  3049.                this ZAP,  the module  MS.EXE will  run from  any disk
  3050.                type even after  being copied (with the  DOS COPY com-
  3051.                mand for example.)
  3052.  
  3053.  
  3054.     ************************************************************************
  3055.     *                                                         October 1983 *
  3056.     *   FILE NAME - MS.ZAP                                                 *
  3057.     *                                                                      *
  3058.     *   FUNCTION -  CHANGE MEMORY-SHIFT MS.EXE TO BYPASS COPY PROTECTION   *
  3059.     *               CHECKING                                               *
  3060.     *                                                                      *
  3061.     *   INSTRUCTIONS -                                                     *
  3062.     *                                                                      *
  3063.     *               1. COPY MS.EXE TO A NEW DISK                           *
  3064.     *                                                                      *
  3065.     *               2. PUT ON THIS ZAP BY ISSUING COMMAND:                 *
  3066.     *                                                                      *
  3067.     *                     PC-ZAP MS.ZAP MS.EXE;                            *
  3068.     *                                                                      *
  3069.     *                  WHERE MS.EXE IS THE NAME OF THE FILE TO BE ZAPPED   *
  3070.     *                  AND MS.ZAP IS THE NAME OF THE FILE YOU ARE READING  *
  3071.     *                                                                      *
  3072.     *               3. THE ZAPPED MS.EXE CAN BE COPIED AT WILL HENCEFORTH  *
  3073.     *                                                                      *
  3074.     *   AUTHOR   -  MARK PELT                                              *
  3075.     *                                                                      *
  3076.     *   NOTES    -  THE PC-ZAP PROGRAM CAN BE OBTAINED BY SENDING A BLANK  *
  3077.     *               FLOPPY DISK OR $20 TO THE FOLLOWING ADDRESS. SPECIFY   *
  3078.     *               DOS VERSION, AND DISKETTE FORMAT (8 OR 9 SECTOR,       *
  3079.     *               SINGLE OR DOUBLE SIDED).                               *
  3080.     *                                                                      *
  3081.     *               PELT INDUSTRIES                                        *
  3082.     *               121 BUCKINGHAM DRIVE, #55                              *
  3083.     *               SANTA CLARA, CA  95050                                 *
  3084.     *                                                                      *
  3085.     *                                                                      *
  3086.     *   (C) COPYRIGHT 1983 PELT INDUSTRIES. ALL RIGHTS RESERVED.           *
  3087.     *                                                                      *
  3088.     ************************************************************************
  3089.      BASE 100      *                 SKIP .EXE HEADER
  3090.      VER 1FDC CD   *       INT       CALL TO BIOS DISKETTE_I/O ROUTINE
  3091.      VER 1FE4 13   *       13H       CALL TO BIOS DISKETTE_I/O ROUTINE
  3092.      VER 1569 75E1 *       JNZ 154C  JUMP IF ERROR
  3093.      REP 1FDC 90   *       NOP       NOP INT INSTRUCTION
  3094.      REP 1FE4 90   *       NOP       NOP 13H OPERAND
  3095.      REP 1569 EB1B *       JMP 1586  JUMP OVER ALL CHECKING
  3096.  
  3097.  
  3098.  
  3099.  
  3100.   Appendix B. SAMPLE ZAP FILES                                     40
  3101.  
  3102.  
  3103.  
  3104.  
  3105.  
  3106.  
  3107.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  3108.  
  3109.  
  3110.                Applying________ApplyingApplyingApplying_the___thethethe_ZAP___ZAPZAPZAP
  3111.  
  3112.                To apply this  ZAP, simply issue the  following PC-ZAP
  3113.                command from DOS.
  3114.  
  3115.  
  3116.   +-----------------------------------------------------------------+
  3117.   |                                                                 |
  3118.   |          PC-ZAP A:MS.ZAP B:MS.EXE LPT1:                         |
  3119.   |                                                                 |
  3120.   +-----------------------------------------------------------------+
  3121.  
  3122.  
  3123.                In the above example, the file  MS.EXE on drive B will
  3124.                be modified. This is the main MemoryShift program. The
  3125.                ZAP commands are contained in  file MS.ZAP on drive A.
  3126.                Since the third operand is  LPT1:, the output from the
  3127.                run will  be printed  on the  first (or  only) printer
  3128.                instead of being displayed on the screen.
  3129.  
  3130.  
  3131.  
  3132.  
  3133.  
  3134.  
  3135.  
  3136.  
  3137.  
  3138.  
  3139.  
  3140.  
  3141.  
  3142.  
  3143.  
  3144.  
  3145.  
  3146.  
  3147.  
  3148.  
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.   Appendix B. SAMPLE ZAP FILES                                     41
  3167.  
  3168.  
  3169.  
  3170.  
  3171.  
  3172.  
  3173.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  3174.  
  3175.  
  3176.   PECOLOR.ZAP___________PECOLOR.ZAPPECOLOR.ZAPPECOLOR.ZAP_-_---_IBM___IBMIBMIBM_PERSONAL________PERSONALPERSONALPERSONAL_EDITOR______EDITOREDITOREDITOR_COLOR_____COLORCOLORCOLOR_SUPPORT_______SUPPORTSUPPORTSUPPORT
  3177.  
  3178.  
  3179.                The file PECOLOR.ZAP contains a  ZAP to modify the IBM
  3180.                Personal  Editor  program PE.EXE  to  display  various
  3181.                parts of  the screen  in color.   The different  areas
  3182.                that can have separate  background and foreground col-
  3183.                ors are  the text  area, the  command line  area (line
  3184.                23), the status line area (line 24) and the error mes-
  3185.                sage area  (line 25), as  well as the  color attribute
  3186.                for the  cursor when  it is moved  from a  normal text
  3187.                area to the  command line area, or from  a marked text
  3188.                area to  the command line.   After applying  this ZAP,
  3189.                the module  PE.EXE will  be use  the indicated  colors
  3190.                whenever used on a color display.
  3191.  
  3192.  
  3193.  
  3194.  
  3195.  
  3196.  
  3197.  
  3198.  
  3199.  
  3200.  
  3201.  
  3202.  
  3203.  
  3204.  
  3205.  
  3206.  
  3207.  
  3208.  
  3209.  
  3210.  
  3211.  
  3212.  
  3213.  
  3214.  
  3215.  
  3216.  
  3217.  
  3218.  
  3219.  
  3220.  
  3221.  
  3222.  
  3223.  
  3224.  
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.  
  3231.  
  3232.   Appendix B. SAMPLE ZAP FILES                                     42
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  3240.  
  3241.  
  3242.     ************************************************************************
  3243.     *                                                         January 1984 *
  3244.     *   FILE NAME - PECOLOR.ZAP                                            *
  3245.     *                                                                      *
  3246.     *   FUNCTION -  CHANGE IBM PERSONAL EDITOR TO DISPLAY SCREEN IN VARIOUS*
  3247.     *               COLORS.                                                *
  3248.     *                                                                      *
  3249.     *   INSTRUCTIONS -                                                     *
  3250.     *                                                                      *
  3251.     *               1. COPY PE.EXE TO A NEW DISK                           *
  3252.     *                                                                      *
  3253.     *               2. PUT ON THIS ZAP BY ISSUING COMMAND:                 *
  3254.     *                                                                      *
  3255.     *                     PC-ZAP PECOLOR.ZAP PE.EXE;                       *
  3256.     *                                                                      *
  3257.     *                  WHERE PE.EXE IS THE NAME OF THE FILE TO BE ZAPPED   *
  3258.     *                  AND PECOLOR.ZAP IS THE NAME OF THE FILE YOU ARE     *
  3259.     *                  READING.                                            *
  3260.     *                                                                      *
  3261.     *               3. THE CHANGED PE.EXE WILL USE THE VARIOUS PARTS OF    *
  3262.     *                  THE SCREEN IN THE COLORS SELECTED BELOW.            *
  3263.     *                                                                      *
  3264.     *   AUTHOR   -  MARK PELT                                              *
  3265.     *                                                                      *
  3266.     *   NOTES    -  THE PC-ZAP PROGRAM CAN BE OBTAINED BY SENDING A BLANK  *
  3267.     *               FLOPPY DISK OR $20 TO THE FOLLOWING ADDRESS. SPECIFY   *
  3268.     *               DOS VERSION, AND DISKETTE FORMAT (8 OR 9 SECTOR,       *
  3269.     *               SINGLE OR DOUBLE SIDED).                               *
  3270.     *                                                                      *
  3271.     *               PELT INDUSTRIES                                        *
  3272.     *               121 BUCKINGHAM DRIVE, #55                              *
  3273.     *               SANTA CLARA, CA  95050                                 *
  3274.     *                                                                      *
  3275.     *                                                                      *
  3276.     *   (C) COPYRIGHT 1983 MARKUS PELT. ALL RIGHTS RESERVED.               *
  3277.     *                                                                      *
  3278.     ************************************************************************
  3279.       VER A160 07           NORMAL TEXT (BLACK BACKGROUND, GREY FOREGROUND)
  3280.       VER A161 70           MARKED TEXT (BLACK ON GREY)
  3281.       VER A162 17           NORMAL CURSOR (GREY ON BLUE)
  3282.       VER A163 71           MARKED CURSOR (BLUE ON GREY)
  3283.       VER A164 71           CMD LINE (BLUE ON GREY)
  3284.       VER A165 07           STATUS LINE (GREY ON BLACK)
  3285.       VER A166 04           ERROR MSG LINE (RED ON BLACK)
  3286.       REP A160 0F           NORMAL TEXT (BLACK BACKGROUND,WHITE FOREGROUND)
  3287.       REP A161 1F           MARKED TEXT (WHITE ON BLUE)
  3288.       REP A162 E8           NORMAL CURSOR (BLINKING BLACK ON LIGHT YELLOW)
  3289.       REP A163 E9           MARKED CURSOR (BLINKING BLUE ON LIGHT YELLOW)
  3290.       REP A164 21           CMD LINE (BLUE ON GREEN)
  3291.       REP A165 68           STATUS LINE (BLACK ON LIGHT YELLOW)
  3292.       REP A166 48           ERROR MSG LINE (BLACK ON LIGHT RED)
  3293.  
  3294.  
  3295.                Applying________ApplyingApplyingApplying_the___thethethe_ZAP___ZAPZAPZAP
  3296.  
  3297.  
  3298.   Appendix B. SAMPLE ZAP FILES                                     43
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304.  
  3305.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  3306.  
  3307.  
  3308.                To apply this  ZAP, simply issue the  following PC-ZAP
  3309.                command from DOS.
  3310.  
  3311.  
  3312.   +-----------------------------------------------------------------+
  3313.   |                                                                 |
  3314.   |          PC-ZAP A:PECOLOR.ZAP B:PE.EXE;                         |
  3315.   |                                                                 |
  3316.   +-----------------------------------------------------------------+
  3317.  
  3318.  
  3319.                In the above example, the file  PE.EXE on drive B will
  3320.                be modified.  The  ZAP commands are contained  in file
  3321.                PECOLOR.ZAP on  drive A.  Since  the third  operand is
  3322.                omitted, the output from the  run will be displayed on
  3323.                the screen.
  3324.  
  3325.  
  3326.  
  3327.  
  3328.  
  3329.  
  3330.  
  3331.  
  3332.  
  3333.  
  3334.  
  3335.  
  3336.  
  3337.  
  3338.  
  3339.  
  3340.  
  3341.  
  3342.  
  3343.  
  3344.  
  3345.  
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354.  
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360.  
  3361.  
  3362.  
  3363.  
  3364.   Appendix B. SAMPLE ZAP FILES                                     44
  3365.  
  3366.  
  3367.  
  3368.  
  3369.  
  3370.  
  3371.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  3372.  
  3373.  
  3374.   PELOGO.ZAP__________PELOGO.ZAPPELOGO.ZAPPELOGO.ZAP_-_---_BYPASS______BYPASSBYPASSBYPASS_IBM___IBMIBMIBM_PERSONAL________PERSONALPERSONALPERSONAL_EDITOR______EDITOREDITOREDITOR_LOGO____LOGOLOGOLOGO
  3375.  
  3376.  
  3377.                The file PELOGO.ZAP  contains a ZAP to  modify the IBM
  3378.                Personal  Editor program  PE.EXE so  that the  initial
  3379.                display of  the IBM logo  is skipped.   After applying
  3380.                this ZAP, the user will no longer be prompted to press
  3381.                any key to continue initilization.
  3382.  
  3383.  
  3384.     ************************************************************************
  3385.     *                                                         January 1984 *
  3386.     *   FILE NAME - PELOGO.ZAP                                             *
  3387.     *                                                                      *
  3388.     *   FUNCTION -  CHANGE IBM PERSONAL EDITOR TO BYPASS INITIAL DISPLAY   *
  3389.     *               OF IBM LOGO.                                           *
  3390.     *                                                                      *
  3391.     *   INSTRUCTIONS -                                                     *
  3392.     *                                                                      *
  3393.     *               1. COPY PE.EXE TO A NEW DISK                           *
  3394.     *                                                                      *
  3395.     *               2. PUT ON THIS ZAP BY ISSUING COMMAND:                 *
  3396.     *                                                                      *
  3397.     *                     PC-ZAP PELOGO.ZAP PE.EXE;                        *
  3398.     *                                                                      *
  3399.     *                  WHERE PE.EXE IS THE NAME OF THE FILE TO BE ZAPPED   *
  3400.     *                  AND PELOGO.ZAP IS THE NAME OF THE FILE YOU ARE      *
  3401.     *                  READING.                                            *
  3402.     *                                                                      *
  3403.     *               3. THE ZAPPED PE.EXE WILL NOT DISPLAY THE INITIAL IBM  *
  3404.     *                  LOGO NOR WAIT FOR A KEY PRESS TO CONTINUE.          *
  3405.     *                                                                      *
  3406.     *   AUTHOR   -  MARK PELT                                              *
  3407.     *                                                                      *
  3408.     *   NOTES    -  THE PC-ZAP PROGRAM CAN BE OBTAINED BY SENDING A BLANK  *
  3409.     *               FLOPPY DISK OR $20 TO THE FOLLOWING ADDRESS. SPECIFY   *
  3410.     *               DOS VERSION, AND DISKETTE FORMAT (8 OR 9 SECTOR,       *
  3411.     *               SINGLE OR DOUBLE SIDED).                               *
  3412.     *                                                                      *
  3413.     *               PELT INDUSTRIES                                        *
  3414.     *               121 BUCKINGHAM DRIVE, #55                              *
  3415.     *               SANTA CLARA, CA  95050                                 *
  3416.     *                                                                      *
  3417.     *                                                                      *
  3418.     *   (C) COPYRIGHT 1983 MARKUS PELT. ALL RIGHTS RESERVED.               *
  3419.     *                                                                      *
  3420.     ************************************************************************
  3421.       VER 0C95 FF3604F4     PUSH [F404]
  3422.       REP 0C95 EB61         JMP  DF8
  3423.       REP 0C97 9090         NOP,NOP
  3424.  
  3425.  
  3426.                Applying________ApplyingApplyingApplying_the___thethethe_ZAP___ZAPZAPZAP
  3427.  
  3428.  
  3429.  
  3430.   Appendix B. SAMPLE ZAP FILES                                     45
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436.  
  3437.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  3438.  
  3439.  
  3440.                To apply this  ZAP, simply issue the  following PC-ZAP
  3441.                command from DOS.
  3442.  
  3443.  
  3444.   +-----------------------------------------------------------------+
  3445.   |                                                                 |
  3446.   |          PC-ZAP A:PELOGO.ZAP B:PE.EXE;                          |
  3447.   |                                                                 |
  3448.   +-----------------------------------------------------------------+
  3449.  
  3450.  
  3451.                In the above example, the file  PE.EXE on drive B will
  3452.                be modified.  The  ZAP commands are contained  in file
  3453.                PELOGO.ZAP on  drive A.   Since the  third operand  is
  3454.                omitted, the output from the  run will be displayed on
  3455.                the screen.
  3456.  
  3457.  
  3458.  
  3459.  
  3460.  
  3461.  
  3462.  
  3463.  
  3464.  
  3465.  
  3466.  
  3467.  
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479.  
  3480.  
  3481.  
  3482.  
  3483.  
  3484.  
  3485.  
  3486.  
  3487.  
  3488.  
  3489.  
  3490.  
  3491.  
  3492.  
  3493.  
  3494.  
  3495.  
  3496.   Appendix B. SAMPLE ZAP FILES                                     46
  3497.  
  3498.  
  3499.  
  3500.  
  3501.  
  3502.  
  3503.                           PC-ZAPPC-ZAPPC-ZAPPC-ZAP User'sUser'sUser'sUser's GuideGuideGuideGuide
  3504.  
  3505.  
  3506.   GLOSSARY________GLOSSARYGLOSSARYGLOSSARY
  3507.  
  3508.  
  3509.  
  3510.   apply:apply:apply:apply:  to apply a zap              file:file:file:file:  Under  DOS, a  collection
  3511.                                       of data  referred to  by a  file
  3512.   command:command:command:command:  A name for an instruc-    name.
  3513.   tion to the computer. The PC-ZAP
  3514.   REP   command,    for   example,    filefilefilefile name:name:name:name:  Under DOS, a name to
  3515.   instructs   the    computer   to    refer to a file. A file name may
  3516.   replace data.                       consist of  an 8  character name
  3517.                                       and  an optional  period with  a
  3518.   device:device:device:device:  a piece of equipment. A    three  character extension.  The
  3519.   printer, a  disk drive,  a modem    extension part is  used to iden-
  3520.   adapter  card are  all  devices.    tify the type  of data contained
  3521.   Under   DOS   each   device   is    in the file. For example, ".BAS"
  3522.   assigned a unique device name.      is a common  extension for BASIC
  3523.                                       source   program  files,   while
  3524.   devicedevicedevicedevice  name:name:name:name:  Under  DOS,  each    ".COM" is a common extension for
  3525.   device  is  assigned   a  unique    DOS command program  files, such
  3526.   device  name.  The  disk  drives    as SAMPLES.BAS and DISKCOPY.COM.
  3527.   are identified by  a single let-
  3528.   ter and a semicolon (A:, B:, C:,    offset:offset:offset:offset:  A number  which identi-
  3529.    printers by the word "LPT" fol-    fies the location of a byte in a
  3530.   lowed by a digit and a semicolon    file  relative to  the start  of
  3531.   (LPT1:,  LPT2:); modems  by  the    the file.  The first  byte of  a
  3532.   word "COM"  followed by  a digit    file is located at offset zero.
  3533.   and a  semicolon (COM1:,  COM2:,
  3534.   COM3:, COM4:).  In addition, DOS    program:program:program:program:  A DOS file ending with
  3535.   uses the  generic names  "CON:",    the extension ".EXE"  or ".COM".
  3536.   "PRN:", and  "AUX" for  the cur-    These files contain machine lan-
  3537.   rent console, printer  and modem    guage instructions.
  3538.   card.
  3539.                                       zap:zap:zap:zap:  a ZAP is a modification to
  3540.   DOS:DOS:DOS:DOS:  Disk Operating System         a  program  or data  file.  When
  3541.                                       used as  a verb, "to  zap" means
  3542.   dump:dump:dump:dump:  the display of  a file on    to alter or modify a file.
  3543.   a printer or screen in both hex-
  3544.   adecimal and text format.
  3545.  
  3546.  
  3547.  
  3548.  
  3549.  
  3550.  
  3551.  
  3552.  
  3553.  
  3554.  
  3555.  
  3556.  
  3557.  
  3558.  
  3559.  
  3560.  
  3561.  
  3562.   Glossary                                                         47
  3563.  
  3564.  
  3565.  
  3566.  
  3567.  
  3568.  
  3569.                         PC-ZAP User's Guide
  3570.                         PC-ZAP User's Guide
  3571.                         PC-ZAP User's Guide
  3572.                         PC-ZAP User's Guide
  3573.  
  3574.  
  3575.  
  3576. INDEX
  3577. _____
  3578.  
  3579.  
  3580. abort prompt 21,22,23,24,25,26     DISKCOPY 47
  3581. address 9,13                       distribution package 1,2,8
  3582. AMASPZAP iv                        documentation iii,iv,1-3
  3583. apply, definition 47               DOS iii,1-3,8,10,12,24
  3584. ASCII iii,6,8,14                   DUMP command 14
  3585. assembly listings 13                 errors 23,25,28,30
  3586. asterisk 8                           location of command 8
  3587. AUX device 47                        use with REP command 17
  3588.                                      use with VER command 18
  3589. backup 1,11,31                       samples 32,38,40
  3590. BASE command 13                    dumping screen graphics 38
  3591.   errors 28,29,30                  
  3592.   location of command 8            EasyWriter 34,35
  3593.   use with REP command 17          editor 8,42,43,45
  3594.   use with VER command 18          END command 15
  3595.   samples 32,38,40                   errors 29,30
  3596. BASIC 2,8,24,47                      use of command 4,5,11
  3597. batch mode 8,29                    ENTER key 4,6,7,11,29,36
  3598. BIOS 32,41                         error messages 20-30
  3599. boot 1                               display of 7,41,42,43,44
  3600. break key 4,11,14,22,29              replying to 21
  3601. buffers 15                         error switch (see "NOGO switch")
  3602. byte 6,14                          EW 34,35
  3603.                                    EXE files iii,13,14,16,32,33,
  3604. carriage return 3,6                    40-46
  3605. CHDIR command 8                    exit 5
  3606. color attribute 42,43              extension 6,7,47
  3607. COM files iii,1,8,9,10,11,14,16,   
  3608.     17,18                          file name 14,16,19,23
  3609. COM1 device 7,47                   floppy disk 2,31,32,34,36,38,40,
  3610. comma 23,25                            43,45
  3611. comments 8,13,14,16,17,18,19       FORMATV.ZAP 36,37
  3612. compatibility 1                    
  3613. compilation listings 13            GEMGRAPH.ZAP 38,39
  3614. completion codes 22                Gemini printer 38
  3615. CON device 6,7,19,21,29,47         Glossary 47
  3616. console 7,47                       GRAPHICS.COM 38,39
  3617. corrections 2                      
  3618. creating zaps iii,8                hexadecimal iii,6,13,14,17,18,
  3619. ctrl key 4,6,11,14,22,29               28,29
  3620. current directory 14,16,24         
  3621. cursor 3,42,43,44                  IBM88VMI.COM 34,35
  3622.                                    identifier 20
  3623. damaged disks 26                   Ignore prompt 21,22,23,24,25,26
  3624. DEBUG iii                          Index 48
  3625. default drive 24,33,35,36          input file 6,7,19
  3626. default operands 6,7,19            interactive mode iii,6,11,14,15,
  3627. delete 25                              29
  3628. device 7,20,22,24,25,47            interrupting the program 11,14,
  3629. digits 13,17,18,20,28,29,47            22,29
  3630. directory 8,14,16,24               Invocation 4,6,8,11,19
  3631. disk types 2                       
  3632.  
  3633.  
  3634. Index                                                               48
  3635.  
  3636.  
  3637.  
  3638.  
  3639.  
  3640.  
  3641.                         PC-ZAP User's Guide
  3642.                         PC-ZAP User's Guide
  3643.                         PC-ZAP User's Guide
  3644.                         PC-ZAP User's Guide
  3645.  
  3646.  
  3647.  
  3648. INDEX
  3649. _____
  3650.  
  3651.  
  3652. key 4,11,14,22,29,39,45            picture 39
  3653. keyboard 6                         PRINT command 2
  3654.                                    printing a dump 14
  3655. label 36                           printer 2,3,7,22,23,24,25,38,39,
  3656. LINK 14,16                             41
  3657. listing file iii,2,6,7,19,24,25    printer name 47
  3658. listings 13                        PRN device 47
  3659. location 9,27,47                   problems 20,23,24,26
  3660. logo 45                            prompts 3,4,7,11,20-26,29,33,36,
  3661. Lotus-123 32,33                        45
  3662. LPT1 device 7,25,41,47             protected software 1,25,26,31,
  3663.                                        32,34,40
  3664. MemoryShift 40,41                  PrtSc key 39
  3665. messages, see "Error messages"     
  3666. mode iii,1,3,6,8,11,14,15,29       quick summary 19
  3667. modem 7,47                         quit 19
  3668. modification iii,47                RAM 2
  3669. modified iii,4,33,35,37,39,41,     rebooting 15,25
  3670.     44,46                          recovering from errors 20,21
  3671. modify 32,34,36,38,40,42,45,47     REP command 17
  3672. module 18,32,34,35,36,38,40,42       errors 27-30
  3673. multiple zap files 10                location of command 8
  3674.                                      use with BASE command 13
  3675. NAME command 16                      use with VER command 18
  3676.   errors 23-25,27-30               reply 25,26
  3677.   location of command 8            reset 10,17,18,27,28,29
  3678.   overrides PC-ZAP command 6,7     restrictions 1,24
  3679.   use with REP command 17          retries 26
  3680.   use with VER command 18          Retry prompt 21,22,23,24,25,26
  3681. NOGO switch 10,17,18,22-25,27,     
  3682.     28,29,30                       sample zap files 31-46
  3683.                                    Scroll-Lock key 11
  3684. offset 13,17,18,19,27,28,29,47     sectors 1
  3685. open 26                            semicolon 7,33,47
  3686. order of commands 8,12             sequence of commands 6,10,30
  3687. OS iv                              serial port 7
  3688. output file 6,19                   Service Aids iv
  3689. output 2,6,7,14,22,23,24,25        size of files 13,28
  3690. overprinting 3                     space 25
  3691. override 6,7                       spelling 23,24,25
  3692.                                    spreadsheet 33
  3693. paper 3,23                         Star Micronics 38
  3694. pathnames 8,14,16,27               startup 3,4,8
  3695.    See also "Directory"            string 13,14,16,17,18
  3696. PC-ZAP command 1,3,6-8             structure of a zap 19
  3697. PC-ZAP.DOC 1,2                     switch 3,10,17,18
  3698. PC-ZAP.EXE, see "PC-ZAP command"   
  3699. PE.EXE 42,43,44,45,46              tab 26
  3700. PECOLOR,ZAP 42,43,44               terminating PC-ZAP 4,11,15,21,
  3701. PELOGO.ZAP 45,46                       22,27,29,30
  3702. Personal Editor 42-46              text files 6,8,42,43,47
  3703. period 47                          TYPE command 2,3,11,20,21,31,32,
  3704.  
  3705.  
  3706. Index                                                               49
  3707.  
  3708.  
  3709.  
  3710.  
  3711.  
  3712.  
  3713.                         PC-ZAP User's Guide
  3714.                         PC-ZAP User's Guide
  3715.                         PC-ZAP User's Guide
  3716.                         PC-ZAP User's Guide
  3717.  
  3718.  
  3719.  
  3720. INDEX
  3721. _____
  3722.  
  3723.  
  3724.     34,40,47                       volume 36
  3725.                                    VS2 iv
  3726. undoing a zap 9                    
  3727. unprotecting software 32,34,40     wait 15,45
  3728.                                    
  3729. VER command 18                     XT iii,2
  3730.   errors 22,27,28,29               
  3731.   location of command 8            zap files 8-11
  3732.   use with BASE command 13         ZAP000I message 5,15,22
  3733.   use with NAME command 16         ZAP091E message 10,27,28
  3734.   use with REP command 17          zero 28,47
  3735.  
  3736.  
  3737.  
  3738.  
  3739.  
  3740.  
  3741.  
  3742.  
  3743.  
  3744.  
  3745.  
  3746.  
  3747.  
  3748.  
  3749.  
  3750.  
  3751.  
  3752.  
  3753.  
  3754.  
  3755.  
  3756.  
  3757.  
  3758.  
  3759.  
  3760.  
  3761.  
  3762.  
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768.  
  3769.  
  3770.  
  3771.  
  3772.  
  3773.  
  3774.  
  3775.  
  3776.  
  3777.  
  3778. Index                                                               50
  3779.  
  3780.  
  3781.